diff options
author | Yifei Xue <xueyifei@huawei.com> | 2018-01-10 09:44:08 +0800 |
---|---|---|
committer | Yifei Xue <xueyifei@huawei.com> | 2018-01-10 09:45:17 +0800 |
commit | a322fe981bb0fc11f2c83e3c887921ebf3af1dc3 (patch) | |
tree | 9de0e6d3db73e11860e4a33641f48dfec7911db2 /deploy/adapters/ansible/roles/config-osa/tasks/main.yml | |
parent | 5d2534f444a6ef4023549b5a65435e72aed9cb75 (diff) |
Change the ntp server in chrony conf
JIRA: -
Use the ntp server in compass-cobbler.
Change-Id: Ia5d3d8fb32ce51667841cec74622c7f0da929587
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/tasks/main.yml')
-rwxr-xr-x | deploy/adapters/ansible/roles/config-osa/tasks/main.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml index 4fd5dd83..f9eef749 100755 --- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml +++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml @@ -101,6 +101,11 @@ delay: 10 when: hostvars[hostvars[inventory_hostname]['groups']['controller'][0]]['local_mirror'] == 'CentOS' +- name: copy chrony.conf + copy: + src: chrony.conf.j2 + dest: /etc/ansible/roles/ansible-hardening/templates/ + - name: update the directory of chrony key lineinfile: dest: /etc/ansible/roles/ansible-hardening/templates/chrony.conf.j2 |