ansible ignores facts caching to redis

46 views
Skip to first unread message

Александр Костырев

unread,
Jul 9, 2015, 6:45:33 AM7/9/15
to ansible...@googlegroups.com
OS: fedora 21
ansible-1.9.1-2.fc21.noarch

$ export ANSIBLE_CFG=./ansible.cfg.testing 
$ cat $ANSIBLE_CFG
[defaults]
gathering = smart
fact_caching = redis
fact_caching_timeout = 86400
fact_caching_connection = 127.0.0.1:6379
timeout = 5
remote_user = root
log_path = ~/ansible-testing.log
vault_password_file = ~/.vault_pass.txt
host_key_checking = False
hostfile = testing
roles_path = roles

[ssh_connection]
ssh_args = -o ControlPersist=8h

sudo yum install redis -y
sudo /bin/systemctl start redis.service


$ ansible-playbook -i testing testing-site.yml --diff --tags config

PLAY [AAPT_DB] **************************************************************** 

GATHERING FACTS *************************************************************** 



redis-cli 
(empty list or set)


Reply all
Reply to author
Forward
0 new messages