~xenrox/ansible

26d5319dc85634012cbadad4bbd840ea88c3e0bc — Thorben Günther 1 year, 10 months ago d481186
Make ansible-lint happy
12 files changed, 15 insertions(+), 12 deletions(-)

M .ansible-lint
D .yamllint
A .yamllint.yml
M molecule/default/prepare.yml
M molecule/default/verify.yml
M playbooks/avalon.yml
M roles/ejabberd/tasks/main.yml
M roles/install_archlinux/tasks/main.yml
M roles/upgrade/tasks/Archlinux.yml
R roles/{uptime-kuma/files/docker-compose.yml => uptime_kuma/files/docker-compose.yml}
R roles/{uptime-kuma/files/uptimekuma.conf => uptime_kuma/files/uptimekuma.conf}
R roles/{uptime-kuma/tasks/main.yml => uptime_kuma/tasks/main.yml}
M .ansible-lint => .ansible-lint +0 -4
@@ 1,7 1,3 @@
exclude_paths:
  - misc
skip_list:
  - braces
  - line-length
  - no-handler
  - meta-no-info

D .yamllint => .yamllint +0 -3
@@ 1,3 0,0 @@
rules:
  comments:
    min-spaces-from-content: 1

A .yamllint.yml => .yamllint.yml +4 -0
@@ 0,0 1,4 @@
---
rules:
  line-length:
    max: 220

M molecule/default/prepare.yml => molecule/default/prepare.yml +2 -2
@@ 16,8 16,8 @@

    - name: Setup Arch Linux keyring
      block:
        - name: Init keyring
        - name: Init keyring # noqa no-changed-when
          ansible.builtin.command: pacman-key --init

        - name: Populate keyring
        - name: Populate keyring # noqa no-changed-when
          ansible.builtin.command: pacman-key --populate archlinux

M molecule/default/verify.yml => molecule/default/verify.yml +1 -1
@@ 4,5 4,5 @@
  gather_facts: false
  tasks:
    - name: Example assertion
      assert:
      ansible.builtin.assert:
        that: true

M playbooks/avalon.yml => playbooks/avalon.yml +1 -1
@@ 45,7 45,7 @@
    - { role: syncthing }
    - { role: wireguard }
    - { role: wireguard_vpn_server }
    - { role: uptime-kuma }
    - { role: uptime_kuma }
    - { role: gotify_server }
    - { role: gotify_app }
    - { role: matrix }

M roles/ejabberd/tasks/main.yml => roles/ejabberd/tasks/main.yml +3 -0
@@ 31,6 31,9 @@
  ansible.builtin.get_url:
    url: https://raw.githubusercontent.com/processone/ejabberd/master/sql/pg.sql
    dest: /tmp/pg.sql
    owner: root
    group: root
    mode: 0644
  when: ejabberd_db.changed

- name: import db schema

M roles/install_archlinux/tasks/main.yml => roles/install_archlinux/tasks/main.yml +3 -0
@@ 39,6 39,9 @@
    # TODO: Put version in variable
    url: https://ftp.gwdg.de/pub/linux/archlinux/iso/2021.06.01/archlinux-bootstrap-2021.06.01-x86_64.tar.gz
    dest: /tmp/
    owner: root
    group: root
    mode: 0644

- name: Extract bootstap image
  ansible.builtin.unarchive:

M roles/upgrade/tasks/Archlinux.yml => roles/upgrade/tasks/Archlinux.yml +1 -1
@@ 6,4 6,4 @@
  register: upgrade_archlinux

- name: list archlinux upgrades
  debug: var=upgrade_archlinux.packages
  ansible.builtin.debug: var=upgrade_archlinux.packages

R roles/uptime-kuma/files/docker-compose.yml => roles/uptime_kuma/files/docker-compose.yml +0 -0
R roles/uptime-kuma/files/uptimekuma.conf => roles/uptime_kuma/files/uptimekuma.conf +0 -0
R roles/uptime-kuma/tasks/main.yml => roles/uptime_kuma/tasks/main.yml +0 -0