Merge "deployed-servers: symlink ansible-playbook"
This commit is contained in:
commit
632ecfe41d
@ -18,3 +18,13 @@ sed -i 's/^SELINUX=.*/SELINUX=permissive/' /etc/selinux/config
|
||||
|
||||
echo '# empty ruleset created by deployed-server bootstrap' > /etc/sysconfig/iptables
|
||||
echo '# empty ruleset created by deployed-server bootstrap' > /etc/sysconfig/ip6tables
|
||||
|
||||
if [ ! -f /usr/bin/ansible-playbook ]; then
|
||||
if [ -f /usr/bin/ansible-playbook-3 ]; then
|
||||
ln -s -f /usr/bin/ansible-playbook-3 /usr/local/bin/ansible-playbook
|
||||
fi
|
||||
else
|
||||
if [ ! -f /usr/bin/ansible-playbook-3 ]; then
|
||||
ln -s -f /usr/bin/ansible-playbook /usr/local/bin/ansible-playbook-3
|
||||
fi
|
||||
fi
|
||||
|
@ -15,3 +15,13 @@ ln -s -f /usr/share/openstack-puppet/modules/* /etc/puppet/modules
|
||||
|
||||
echo '# empty ruleset created by deployed-server bootstrap' > /etc/sysconfig/iptables
|
||||
echo '# empty ruleset created by deployed-server bootstrap' > /etc/sysconfig/ip6tables
|
||||
|
||||
if [ ! -f /usr/bin/ansible-playbook ]; then
|
||||
if [ -f /usr/bin/ansible-playbook-3 ]; then
|
||||
ln -s -f /usr/bin/ansible-playbook-3 /usr/local/bin/ansible-playbook
|
||||
fi
|
||||
else
|
||||
if [ ! -f /usr/bin/ansible-playbook-3 ]; then
|
||||
ln -s -f /usr/bin/ansible-playbook /usr/local/bin/ansible-playbook-3
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user