At my virtualenv
Here is my ansible.cfg
[defaults]
host_key_checking = False
library =/path/to/ansible-playbooks/venv/lib/python2.7/site-packages/ansible
/modules
And here is my f5-text.txt
localhost]
ansible_connection=local ansible_python_interpreter=/Users/oyarimtepe/git.
gittigidiyor/ansible-playbooks/venv/bin/python
and the playbook.yml is
- name: create f5 pool
hosts: localhost
connection: local
roles:
- remove_node
remove_node is
- name: Remove pool member from pool
local_action: >
bigip_pool:
server: "{{ f5_server }}"
server_port: {{ f5_server_port }}
user: "{{ f5_username }}"
password: "{{ f5_password }}"
state: "absent"
name: "{{ f5_pool }}"
partition: "{{ f5_partition }}"
host: "{{ ansible_default_ipv4["address"] }}"
port: {{ host_port }}
and whenever i run the playbook with
ansible-playbook f5-pool/playbook.yml -i f5-test.txt
This is the error i got:
fatal: [ansible_connection=local]: FAILED! => {"failed": true, "msg": "The
module bigip_pool:\n was not found in configured module paths.
Additionally, core modules are missing. If this is a checkout, run 'git
submodule update --init --recursive' to correct this problem."}
Any idea what the problem is?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f1309f7f-d1c2-4383-86c4-2f6e3951d118%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.