ceph-ansible + Fresh deployment problem : config_template is missing interpreter line
See original GitHub issueHi,
I am trying to deploy a new cluster with ceph-ansible with stable-4.0
Everything is working great until I reach the task :
TASK [ceph-config : generate ceph configuration file: ceph.conf]
It returns this error :
fatal: [mon_host01]: FAILED! => {"msg": "module (config_template) is missing interpreter line"}
I’m running ansible v 2.8.1 in a virtualenv with only ansible and the requirements. I am executing my playing from the ceph-ansible directory, where ./library can be found.
(ceph_ansible2) root@myworkstation:/workdir/ansible/ansible_ceph/ceph-ansible# ls -d */ actions_plugins/ callback_plugins/ contrib/ docs/ fetch/ filter_plugins/ group_vars/ host_vars/ infrastructure-playbooks/ library/ plugins/ profiles/ roles/ tests/
`(ceph_ansible2) root@myworkstation:/workdir/ansible/ansible_ceph/ceph-ansible# ls -al ./library/
ceph_add_users_buckets.py / ceph_crush.py / ceph_facts ceph_key.py / ceph_volume.py / config_template igw_client.py / igw_gateway.py / igw_lun.py / igw_purge.py / _init__.py / validate
Following this documentation : https://docs.ansible.com/ansible/latest/dev_guide/developing_locally.html#adding-a-plugin-locally I still don’t understand why it can’t find the module properly.
Regards,
Issue Analytics
- State:
- Created 4 years ago
- Comments:26 (8 by maintainers)
Top GitHub Comments
Dear HammerZ3it please update you /etc/anisble/ansible.cfg file accordingly i am using stack user to deply ceph-4.0 on ubuntu 18.04
action_plugins = /home/stack/ceph-ansible/plugins/actions/
I’d bet your issue is: