Allow the usage of local facts
Ansible could be used with local facts, but we don't create the ansible local facts folder by default. This makes possible to use local facts, with no downside. Change-Id: Ie4a47e85bf31e1ac3a2bd6f0dec510bb24abdbbd
This commit is contained in:
@@ -45,6 +45,7 @@ lxc_cache_map:
|
||||
- /etc/localtime
|
||||
cache_prep_commands: |
|
||||
{{ lxc_cache_prep_pre_commands }}
|
||||
mkdir -p /etc/ansible/facts.d/
|
||||
if [ -a /etc/resolv.conf ]; then
|
||||
mv /etc/resolv.conf /etc/resolv.conf.org
|
||||
fi
|
||||
|
||||
@@ -51,6 +51,7 @@ lxc_cache_map:
|
||||
- /root/repo.keys
|
||||
cache_prep_commands: |
|
||||
{{ lxc_cache_prep_pre_commands }}
|
||||
mkdir -p /etc/ansible/facts.d/
|
||||
if [ -a /etc/resolv.conf ]; then
|
||||
mv /etc/resolv.conf /etc/resolv.conf.org
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user