We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9460ba commit f415f52Copy full SHA for f415f52
orahost/tasks/main.yml
@@ -20,6 +20,9 @@
20
- selinux
21
ignore_errors: true
22
23
+ - name: Add local node's ip & hostname to /etc/hosts
24
+ lineinfile: dest=/etc/hosts line="{{ ansible_default_ipv4.address }} {{ ansible_fqdn }} {{ ansible_hostname }} " state=present
25
+ when: configure_etc_hosts and ansible_default_ipv4.address is defined
26
27
- name: User | Add group(s)
28
group: name={{ item.group }} gid={{ item.gid }} state=present
0 commit comments