Skip to content
Snippets Groups Projects
Commit 437af75d authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

aligning name with state

parent 3116d3af
No related branches found
No related tags found
1 merge request!335Version pinning and enableing the upgrade role to run at all times
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
lineinfile: lineinfile:
args: args:
dest: /etc/cloud/cloud.cfg dest: /etc/cloud/cloud.cfg
line: "preserve_hostname: false" line: "preserve_hostname: true"
state: absent state: present
become: true become: true
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7" when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
lineinfile: lineinfile:
args: args:
dest: /etc/cloud/cloud.cfg dest: /etc/cloud/cloud.cfg
line: "preserve_hostname: true" line: "preserve_hostname: false"
state: present state: absent
become: true become: true
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7" when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment