Skip to content

warhorse/ansible-role-swag-docker

Repository files navigation

Ansible Swag (Docker)

CI warhorse.swag_docker warhorse.swag_docker warhorse.swag_docker License Commit

Install Swag (Docker)

This role is part of the Warhorse Automation Framework. This role can be used with Warhorse or as a standalone role.

Docker Image

swag

Role Variables

A list of all the variables can be found in ./defaults/main.yml.

swag_hostname: "swag" swag_container_name: "swag" swag_docker_version: "latest"

swag_dns_plugin: 'digitalocean' swag_domain_name: 'example.com'

swag_docker_labels: {} swag_docker_image: "linuxserver/swag:{{ swag_docker_version }}" swag_docker_network: "swag" swag_network_ipam_temp: "{{ swag_network_ipam | default({}) }}" swag_network_ipam_subnet: "{{ swag_network_ipam_temp.subnet | default('172.16.1.0/24') }}" swag_network_ipam_gateway: "{{ swag_network_ipam_temp.gateway | default('172.16.1.1') }}" swag_network_ipam_iprange: "{{ swag_network_ipam_temp.iprange | default('172.16.1.0/24') }}"

swag_dir: '/opt/docker/swag' swag_data_dir: '/config' swag_ports:

  • "80:80"
  • "443:443"

Dependencies

ansible-galaxy install geerlingguy.docker geerlingguy.pip

Install

ansible-galaxy install warhorse.swag_docker

Example Playbook

- hosts: servers
  roles:
      - { role: warhorse.swag_docker }

License

MIT/BSD

Author Information

Ralph May

About

Ansible Swag (Docker)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages