mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
M #-: Add sudoers-tmp workaround role to provision (#642)
This is a temporal, once beta is released this task will be removed.
This commit is contained in:
parent
aa839b75a4
commit
06c4179868
@ -23,3 +23,4 @@
|
||||
frr_iface: 'eth0'
|
||||
# Use /16 for the internal management network address
|
||||
frr_prefix_length: 16
|
||||
- sudoers-tmp
|
||||
|
@ -24,3 +24,4 @@
|
||||
frr_iface: 'bond0_0'
|
||||
# Use /25 for the internal management network address
|
||||
frr_prefix_length: 25
|
||||
- sudoers-tmp
|
||||
|
@ -0,0 +1 @@
|
||||
../../../../../pkgs/sudoers/centos/opennebula
|
@ -0,0 +1 @@
|
||||
../../../../../pkgs/sudoers/debian/opennebula
|
11
share/oneprovision/ansible/roles/sudoers-tmp/tasks/main.yml
Normal file
11
share/oneprovision/ansible/roles/sudoers-tmp/tasks/main.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- name: Overwrite opennebula sudoers (debian)
|
||||
copy:
|
||||
src: debian-opennebula
|
||||
dest: /etc/sudoers.d/opennebula
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: Overwrite opennebula sudoers (redhat)
|
||||
copy:
|
||||
src: centos-opennebula
|
||||
dest: /etc/sudoers.d/opennebula
|
||||
when: ansible_os_family == "RedHat"
|
Loading…
x
Reference in New Issue
Block a user