Commit fc5eb709 authored by nimrod's avatar nimrod
Browse files

- At least run some test with check mode.

parent f3ed53ee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ install:

script:
  - pre-commit run --all-files
  - ansible-playbook -i localhost, -c local -C tests/playbook.yml -e 'ansible_python_interpreter=/usr/bin/python2.7'

notifications:
  webhooks: https://galaxy.ansible.com/api/v1/notifications/
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
  setup:

- name: Symlink python
  ignore_errors: '{{ ansible_check_mode }}'
  file:
      path: /usr/bin/python
      src: /usr/local/bin/python2.7
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
    - ansible-role-openbsd-bootstrap
  post_tasks:
      - name: Test task with an unprivileged user
        ignore_errors: '{{ ansible_check_mode }}'
        become: True
        become_user: nobody
        command: whoami