copr-pulp: setup ipv6
This commit is contained in:
parent
f5adb3bf01
commit
20d43f939f
5 changed files with 9 additions and 3 deletions
|
@ -12,3 +12,5 @@ additional_known_hosts_cleanup:
|
||||||
- copr-be-dev-temp.aws.fedoraproject.org
|
- copr-be-dev-temp.aws.fedoraproject.org
|
||||||
copr-be.aws.fedoraproject.org:
|
copr-be.aws.fedoraproject.org:
|
||||||
- copr-be-temp.aws.fedoraproject.org
|
- copr-be-temp.aws.fedoraproject.org
|
||||||
|
|
||||||
|
aws_ipv6_con: "cloud-init eth0"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
---
|
---
|
||||||
services_disabled: true
|
services_disabled: true
|
||||||
aws_ipv6_addr: "2600:1f18:8ee:ae00:c4b7:de1a:4d13:e5a4"
|
aws_ipv6_addr: "2600:1f18:8ee:ae00:c607:4520:249f:6cc8"
|
||||||
|
|
|
@ -18,3 +18,5 @@ tcp_ports: [
|
||||||
# PULP API
|
# PULP API
|
||||||
24817,
|
24817,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
aws_ipv6_con: "System eth0"
|
||||||
|
|
|
@ -14,3 +14,5 @@ nagios_Can_Connect: false
|
||||||
public_ip: TODO
|
public_ip: TODO
|
||||||
swap_file_path: /swap
|
swap_file_path: /swap
|
||||||
swap_file_size_mb: 8096
|
swap_file_size_mb: 8096
|
||||||
|
|
||||||
|
aws_ipv6_con: "System eth0"
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
- ansible_distribution == 'Fedora'
|
- ansible_distribution == 'Fedora'
|
||||||
|
|
||||||
- name: disable offloading (persitently)
|
- name: disable offloading (persitently)
|
||||||
shell: "nmcli con modify 'cloud-init eth0' ethtool.feature-tso off ethtool.feature-gro off ethtool.feature-gso off"
|
shell: "nmcli con modify '{{ aws_ipv6_con }}' ethtool.feature-tso off ethtool.feature-gro off ethtool.feature-gso off"
|
||||||
when:
|
when:
|
||||||
- offloading.rc == 0
|
- offloading.rc == 0
|
||||||
- ansible_distribution == 'Fedora'
|
- ansible_distribution == 'Fedora'
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: check we have the needed ipv6
|
- name: check we have the needed ipv6
|
||||||
shell: "nmcli con show 'cloud-init eth0' | grep ipv6.addresses | grep {{ aws_ipv6_addr }}"
|
shell: "nmcli con show '{{ aws_ipv6_con }}' | grep ipv6.addresses | grep {{ aws_ipv6_addr }}"
|
||||||
register: ipv6_config_check
|
register: ipv6_config_check
|
||||||
failed_when: false
|
failed_when: false
|
||||||
changed_when: ipv6_config_check.rc == 1
|
changed_when: ipv6_config_check.rc == 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue