1
0
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:
Jan Orel 2021-01-14 15:26:00 +01:00 committed by GitHub
parent aa839b75a4
commit 06c4179868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 0 deletions

View File

@ -23,3 +23,4 @@
frr_iface: 'eth0'
# Use /16 for the internal management network address
frr_prefix_length: 16
- sudoers-tmp

View File

@ -24,3 +24,4 @@
frr_iface: 'bond0_0'
# Use /25 for the internal management network address
frr_prefix_length: 25
- sudoers-tmp

View File

@ -0,0 +1 @@
../../../../../pkgs/sudoers/centos/opennebula

View File

@ -0,0 +1 @@
../../../../../pkgs/sudoers/debian/opennebula

View 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"