Merge "Remove Ubuntu 14.04 related code"
This commit is contained in:
commit
afed70a3df
@ -34,16 +34,4 @@
|
||||
- (inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
- ansible_os_family == 'RedHat'
|
||||
or (ansible_distribution == 'Ubuntu' and ansible_distribution_version > '14.04')
|
||||
|
||||
- name: Checking if '/run' mount flag is set to 'shared'
|
||||
command: awk '$5 == "/run" {print $7}' /proc/self/mountinfo
|
||||
register: result
|
||||
changed_when: false
|
||||
failed_when: result.stdout.find('shared') == -1
|
||||
when:
|
||||
- (inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
- ansible_distribution == 'Ubuntu' and ansible_distribution_version == '14.04'
|
||||
- ansible_os_family == 'RedHat' or ansible_distribution == 'Ubuntu'
|
||||
|
Loading…
Reference in New Issue
Block a user