Skip to content

Commit

Permalink
Issue dell#328: Porting management station OS to centOS 8.3
Browse files Browse the repository at this point in the history
Signed-off-by: DeepikaKrishnaiah <[email protected]>
  • Loading branch information
DeepikaKrishnaiah committed May 28, 2021
2 parents 28474be + 1e42acb commit 4330a9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/cluster_validation/tasks/fetch_password.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
path: "{{ ansible_conf_file_path }}"
state: directory
mode: "{{ file_perm }}"
when: ansible_conf_exists.stat.exists == false
when: not ansible_conf_exists.stat.exists

- name: Create ansible config file if it does not exist
copy:
Expand All @@ -111,14 +111,14 @@
content: |
[defaults]
log_path = /var/log/omnia.log
when: ansible_conf_exists.stat.exists == false
when: not ansible_conf_exists.stat.exists

- name: Set omnia.log file
replace:
path: "{{ ansible_conf_file_path }}/ansible.cfg"
regexp: '#log_path = /var/log/ansible.log'
replace: 'log_path = /var/log/omnia.log'
when: ansible_conf_exists.stat.exists == true
when: ansible_conf_exists.stat.exists

- name: Encrypt input config file
command: >-
Expand Down

0 comments on commit 4330a9f

Please sign in to comment.