This role sets up a Monero full node using a docker container.
This role relies on docker
being available on the host and the community.general.docker_container
module in ansible.
geerlingguy.docker
role can be used to setup docker.
For the docker_container
python module, geerlingguy.pip
role can be used to install Python's docker
package.
monero__version
(optional, default: 0.18.1.0): Image version tag to use.monero__container_name
(optional, default: monerod-node): Name to use for the container created by the role.monero__data_dir
(optional, default /var/monero/): Folder to use for persistent files.monero__config_file
(optional, default: files/monerod.conf): Config file for the service. A default one is provided by the role but you are encouraged to provide your own.monero__p2p_port
(optional, default: 18080): Port on which the peer to peer port will be exposed on the host machine.monero__rpc_port
(optional, default: 18081): Port on which the rpc port will be exposed on the host machine.
The following would be a fairly common role usage example:
- host: monerod.my-domain.com
roles:
- role: salessandri.monero
MIT
This role was created in 2021 by Santiago Alessandri.