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:
|
||||
chdir: /etc/sysconfig/network-scripts/
|
||||
creates: /etc/sysconfig/network-scripts/ifcfg-br-mgmt
|
||||
when: not aio_install
|
||||
tags:
|
||||
- interfaces
|
||||
|
||||
@ -137,7 +138,7 @@
|
||||
when: sshkey_register.ssh_public_key != ""
|
||||
register: sshkey_fetch
|
||||
|
||||
when: tag.find("infra") != -1
|
||||
when: tag.find("infra") != -1 or aio_install
|
||||
tags: infra
|
||||
|
||||
|
||||
|
@ -99,7 +99,15 @@
|
||||
mode: '0644'
|
||||
with_items:
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user