diff --git a/roles/portainer/defaults/main.yml b/roles/portainer/defaults/main.yml deleted file mode 100644 index 205c4a1..0000000 --- a/roles/portainer/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for common diff --git a/roles/portainer/meta/main.yml b/roles/portainer/meta/main.yml deleted file mode 100644 index a0e6573..0000000 --- a/roles/portainer/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: Matthew McKinnon - description: Portainer CE - company: support@comprofix.com - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/roles/portainer/tasks/main.yml b/roles/portainer/tasks/main.yml deleted file mode 100644 index 1f85277..0000000 --- a/roles/portainer/tasks/main.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Create directories - file: - path: "{{ item }}" - state: directory - with_items: - - "{{ data_folder }}/portainer" - -- name: Create Portainer Container - docker_container: - name: portainer - image: portainer/portainer-ce:2.21.1 - command: --admin-password "{{PORTAINER_ADMIN_PASSWORD}}" - restart_policy: unless-stopped - volumes: - - "{{ data_folder }}/portainer/data:/data" - - '/var/run/docker.sock:/var/run/docker.sock' - networks: - - name: proxy - labels: - traefik.enable: "true" - traefik.http.routers.portainer-secure.rule: "Host(`{{portainer_host}}`)" - traefik.http.routers.portainer-secure.entrypoints: "https" - traefik.http.routers.portainer-secure.tls: "true" - traefik.http.routers.portainer-secure.service: "portainer" - traefik.http.services.portainer.loadbalancer.server.port: "9443" - traefik.http.services.portainer.loadbalancer.server.scheme: "https" - register: container_portainer - diff --git a/roles/portainer/vars/main.yml b/roles/portainer/vars/main.yml deleted file mode 100644 index a889192..0000000 --- a/roles/portainer/vars/main.yml +++ /dev/null @@ -1,14 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -65353733316135366638323133373232303864363638313664666166386331393438333861323035 -6362333138333732316561326538313233653132376562610a306234363161396433383663333263 -61643839636136636230353633383235313030643466303363653731666234353464616631303437 -6461393366653439350a346261643564303730613636636133353365393230373235313734343135 -33303064626163653831363139336563366336333730653836346338663765663437366266636634 -33643162366539363466333662346533313931663832353134333361323336363964343232663166 -61393831643531306330326239346630396438343461636361386663396132643436623862343030 -61636238336662633463383261653239633038343162316132353030373566633961393735383136 -32643933393938646237353731353136613337313465353864336633316437336533343632333766 -61366134356564343230363733383563313064306464653366386161633030353965303132306331 -32643266353965653837653066623734353166386230336338396139333134393833626461326338 -64646639623063623261623861316162333165356132306166303639653361393335373431626464 -31306536323830613732623939636232353739636336363264393761396636343833