File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
ansible/roles/baremetal/tasks
roles/multi-node-managed-addressing/tasks Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 41
41
- inventory_hostname not in groups['bifrost'] or
42
42
hostvars[inventory_hostname]['api_interface'] | replace('-', '_') in hostvars[inventory_hostname].ansible_facts
43
43
44
+ - name : Ensure unprivileged users can use ping
45
+ become : true
46
+ sysctl :
47
+ name : net.ipv4.ping_group_range
48
+ value : ' 0 2147483647'
49
+ state : present
50
+ sysctl_file : " {{ kolla_sysctl_conf_path }}"
51
+ when : ansible_facts.os_family == 'RedHat'
52
+
44
53
# NOTE(osmanlicilegi): The distribution might come with cloud-init installed, and manage_etc_hosts
45
54
# configuration enabled. If so, it will override the file /etc/hosts from cloud-init templates at
46
55
# every boot, which will break RabbitMQ. To prevent this happens, first we check whether cloud-init
Original file line number Diff line number Diff line change 66
66
- managed_network_address_family == 'ipv6'
67
67
68
68
- name : Ping across the managed network
69
+ become : true
69
70
vars :
70
71
ping_command : " {{ 'ping' if managed_network_address_family == 'ipv4' else 'ping6' }}"
71
72
command : " {{ ping_command }} -c1 {{ hostvars[item].managed_interface_address }}"
You can’t perform that action at this time.
0 commit comments