don't run iface script on aio, make sure ssh is configured.
This commit is contained in:
parent
b48bc11262
commit
54d396ebf1
@ -94,6 +94,7 @@
|
|||||||
args:
|
args:
|
||||||
chdir: /etc/sysconfig/network-scripts/
|
chdir: /etc/sysconfig/network-scripts/
|
||||||
creates: /etc/sysconfig/network-scripts/ifcfg-br-mgmt
|
creates: /etc/sysconfig/network-scripts/ifcfg-br-mgmt
|
||||||
|
when: not aio_install
|
||||||
tags:
|
tags:
|
||||||
- interfaces
|
- interfaces
|
||||||
|
|
||||||
@ -137,7 +138,7 @@
|
|||||||
when: sshkey_register.ssh_public_key != ""
|
when: sshkey_register.ssh_public_key != ""
|
||||||
register: sshkey_fetch
|
register: sshkey_fetch
|
||||||
|
|
||||||
when: tag.find("infra") != -1
|
when: tag.find("infra") != -1 or aio_install
|
||||||
tags: infra
|
tags: infra
|
||||||
|
|
||||||
|
|
||||||
|
@ -99,7 +99,15 @@
|
|||||||
mode: '0644'
|
mode: '0644'
|
||||||
with_items:
|
with_items:
|
||||||
- user_lxc
|
- user_lxc
|
||||||
- user_galera
|
|
||||||
|
- name: Disable SSH Agent Forwarding
|
||||||
|
lineinfile:
|
||||||
|
dest: /etc/ssh/sshd_config
|
||||||
|
regexp: '^.*AllowAgentForwarding'
|
||||||
|
line: 'AllowAgentForwarding no'
|
||||||
|
tags: services
|
||||||
|
notify:
|
||||||
|
- restart_sshd
|
||||||
|
|
||||||
|
|
||||||
- name: Check playbooks
|
- name: Check playbooks
|
||||||
|
Loading…
Reference in New Issue
Block a user