You've already forked ansible-role-common
BUGFIX: Ignore when running in container
This commit is contained in:
@@ -63,7 +63,7 @@
|
|||||||
- name: Ensure Hostname is set
|
- name: Ensure Hostname is set
|
||||||
hostname:
|
hostname:
|
||||||
name: "{{ inventory_hostname }}.{{ domain }}"
|
name: "{{ inventory_hostname }}.{{ domain }}"
|
||||||
when: ansible_virtualization_type != "docker"
|
when: ansible_virtualization_type != "docker" and ansible_virtualization_type != "container"
|
||||||
|
|
||||||
- name: Change root password
|
- name: Change root password
|
||||||
user:
|
user:
|
||||||
|
|||||||
Reference in New Issue
Block a user