modify line with quotes
This commit is contained in:
parent
1958812a53
commit
9cf070bbff
|
@ -14,7 +14,7 @@
|
|||
lineinfile:
|
||||
dest: /etc/hosts
|
||||
regexp: '^127\.0\.1\.1\tplantilladebian12\.verdnatura\.es\tplantilladebian12'
|
||||
line: '127.0.1.1 "{{ name_hostname }}".verdnatura.es "{{ name_hostname }}"'
|
||||
line: '127.0.1.1 {{ name_hostname }}.verdnatura.es {{ name_hostname }}'
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# https://docs.ansible.com/ansible/latest/collections/ansible/builtin/hostname_module.html#ansible-collections-ansible-builtin-hostname-module
|
||||
# https://docs.ansible.com/ansible/latest/collections/ansible/builtin/replace_module.html#ansible-collections-ansible-builtin-replace-module
|
||||
|
|
Loading…
Reference in New Issue