That task is defined as follows...
- name: Ensure mongod package is installed
yum:
name: '{{ mongodb_packages.mongod }}'
state: present
when: ansible_os_family == "RedHat"
and the variable used is defined as follows...
mongodb_packages:
mongod: mongodb-org-server
Running locally
Hello All,
For a couple of days I've been getting the following error in the Ansible
sanity tests...
ERROR: plugins/modules/cassandra_autocompaction.py:0:0:
module-invalid-version-added: DOCUMENTATION.version_added: invalid semantic
version '2.8' for dictionary value @ data['version_added'].
Probably the easiest thing to do is forward a port to ssh in your container
when you launch it and then connect to that in Ansible like a standard
host. That should be quite easy to do.
A quick google also shows this...
https://docs.ansible.com/ansible/latest/plugins/connection/docker.html
It should be possible to use a credentials file...
https://www.serverlab.ca/tutorials/linux/database-servers/how-to-create-a-credential-file-for-mysql/
--
You received this message because you are subscribed to the Google Groups
"Ansible Development" group.
To unsubscribe from this group and
Hello,
I have started development of an Ansible module to insert a document into a
MongoDB database. It's over at
https://github.com/ansible-collections/community.mongodb/
When a MongoDB document is inserted, without providing a value for _id, an
Object ID is created automatically and