Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.72 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.72 KB

Monero

This role sets up a Monero full node using a docker container.

Requirements

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.

Role Variables

  • 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.

Example Playbook

The following would be a fairly common role usage example:

- host: monerod.my-domain.com
  roles:
    - role: salessandri.monero

License

MIT

Author Information

This role was created in 2021 by Santiago Alessandri.