Commit graph

112 commits

Author SHA1 Message Date
Hideki Saito
70b843ba43 TEST 2022-03-13 01:45:04 +09:00
Hideki Saito
f976c994c7 TEST 2022-03-13 01:35:54 +09:00
Hideki Saito
4ed7a677ce TEST 2022-03-13 01:25:34 +09:00
Hideki Saito
6dbe55534a TEST 2022-03-13 01:08:51 +09:00
Hideki Saito
6f8101f49e TEST 2022-03-13 01:02:34 +09:00
Hideki Saito
7e3fce2e5a TEST 2022-03-13 00:55:20 +09:00
Hideki Saito
b4411035c1 TEST 2022-03-13 00:51:25 +09:00
Hideki Saito
42e1d2f3f6 TEST 2022-03-13 00:51:09 +09:00
Hideki Saito
44f84a069e TEST 2022-03-13 00:40:38 +09:00
Hideki Saito
bcd82bee4f TEST 2022-03-13 00:37:29 +09:00
Hideki Saito
f6ea11ab5c TEST 2022-03-12 23:05:47 +09:00
Hideki Saito
03270719f6 TEST 2022-03-12 23:01:18 +09:00
Hideki Saito
34d06077f7 TEST 2022-03-12 22:58:25 +09:00
Hideki Saito
cc5b970040 TEST 2022-03-12 22:51:05 +09:00
Hideki Saito
f173b139ad TEST 2022-03-12 22:30:32 +09:00
Hideki Saito
f7a820ad7a TEST 2022-03-12 22:27:10 +09:00
Hideki Saito
6ab8fdd09c TEST 2022-03-12 22:20:53 +09:00
Hideki Saito
d4b029910d TEST 2022-03-12 22:15:48 +09:00
Hideki Saito
abaa709d99 TEST 2022-03-12 22:04:43 +09:00
Hideki Saito
4719370d33 TEST 2022-03-12 21:59:41 +09:00
Hideki Saito
fdd8ae0ed3 TEST 2022-03-12 21:54:38 +09:00
Hideki Saito
d9137b4248 TEST 2022-03-12 21:38:13 +09:00
Hideki Saito
fb42b9e7b9 Change src dest dir to a fixed value
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 21:31:44 +09:00
Hideki Saito
42f5d30ab0 Add delegate_to to each task
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 21:24:43 +09:00
Hideki Saito
d1814d1d4a Add delegate_to each task
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 21:22:49 +09:00
Hideki Saito
6421b000f7 Add delegate_to to "synchronize file to new filename" task
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 21:13:11 +09:00
Hideki Saito
705dfd8488 Enable "synchronize file to new filename" task
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 21:05:41 +09:00
Hideki Saito
a8e8737436 Check output_dir path
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 20:57:08 +09:00
Hideki Saito
fc58c51fba Check OS distribution before synchronize instegration test task
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 20:44:28 +09:00
Hideki Saito
d0b949e5f8 Add changelog fragment file 2022-03-12 20:33:10 +09:00
Hideki Saito
71128f978b Exclude failed tasks
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 20:09:25 +09:00
Hideki Saito
76bd789291 Exclude "synchronize file to new filename" task and assertion
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 19:50:52 +09:00
Hideki Saito
c879a70bed Exclude " synchronize file to new filename" task for testing
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 19:20:52 +09:00
Hideki Saito
4cad83c264 Add sleep 5 secs in retry loop
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 18:55:15 +09:00
Hideki Saito
a3f702c45e Suppress retries when downloading community.galaxy
Signed-off-by: Hideki Saito <saito@fgrep.org>
2022-03-12 13:59:37 +09:00
Hideki Saito
cd04f5a092 Fix exit code in CI entrypoint to address shellckeck issue
- Fixes #301

Signed-off-by: Hideki Saito <saito@fgrep.org>
2021-12-20 08:40:36 +09:00
Hideki Saito
667ebef95c Refine the handling of exclusive options using mutually_exclusive
- Fixes #255

Signed-off-by: Hideki Saito <saito@fgrep.org>
2021-11-29 18:46:28 +09:00
ansible-zuul[bot]
e366b90f39
Merge pull request #278 from asnaedae/hotfix/escape_whitespace_in_paths
Whitespace in fully  path to playbook causes rsync to fail

Any whitespace in path to playbook directory causes rsync to incorrectly chdir fail to correctly run.
SUMMARY
Any whitespace in path to playbook directory causes rsync to incorrectly chdir fail to correctly run.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
ansible.posix.synchronize
ADDITIONAL INFORMATION


Example :
cd "/home/a/ansible plays"

task:
  - synchronize:
      src: a
      dest: b

Results in the following error being thrown
fatal: [remote-host]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh='/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' --rsync-path='sudo -u root rsync' --out-format='<<CHANGED>>%i %n%L' /home/a/ansible plays/deployments// remote-user@remote-host:/b/", "msg": "rsync: [sender] link_stat \"/home/a/ansible\" failed: No such file or directory (2)\nrsync: [sender] change_dir \"/home/a/ansible plays/plays/a/\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]\n", "rc": 23}

Reviewed-by: Hideki Saito <saito@fgrep.org>
Reviewed-by: Abhijeet Kasurde <None>
Reviewed-by: None <None>
2021-11-03 04:47:48 +00:00
Mike Wallis
d1be5519e6 Whitespaces in paths or current working directory path of playbook causes rsync to incorrectly chdir to current source dir,
Example :

cd "/home/a/ansible plays"

task:
  - synchronize:
      src: a
      dest: b

Results in the following error being thrown

fatal: [remote-host]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh='/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' --rsync-path='sudo -u root rsync' --out-format='<<CHANGED>>%i %n%L' /home/a/ansible plays/deployments// remote-user@remote-host:/data/", "msg": "rsync: [sender] link_stat \"/home/a/ansible\" failed: No such file or directory (2)\nrsync: [sender] change_dir \"/home/a/ansible plays/plays/a/\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]\n", "rc": 23}
2021-10-25 19:44:43 +01:00
Hideki Saito
399f5e2f09 Fix unit test for synchronize action plugin
- use yaml.safe_load() instead of load()

Signed-off-by: Hideki Saito <saito@fgrep.org>
2021-10-21 08:18:17 +09:00
Hideki Saito
8f58cbb41c Fix integration test error on ansible devel branch
- Remove centos6 platforms for integration tests on
  the ansible devel branch from the azure-pipelines.
- Add delegate_to to each task of integration test for
  synchronized module on devel branch
- Modify invalid parameter test to use key instead of name
  for sysctl module
- Replace lookup plugin to slurp module in integration tests
  for selinux module
- Add creating working directory task in integration tests
  for acl module

Signed-off-by: Hideki Saito <saito@fgrep.org>
2021-10-04 17:10:20 +09:00
Andrew Klychkov
4304552677 Copy ignore-2.12.txt to ignore-2.13.txt 2021-09-28 13:03:36 +02:00
Hideki Saito
5a2b3662cb mount - add a newline at the end of line in fstab
* Fixes #210

Signed-off-by: Hideki Saito <saito@fgrep.org>
2021-09-27 12:19:06 +09:00
Ondrej Mosnacek
53d47e1763 selinux: update kernel boot params when disabling/re-enabling SELinux
The ability to disable SELinux from userspace based on the configuration
file is being deprecated in favor of the selinux=0 kernel boot
parameter. (Note that this affects only the "full" disable; switching
to/from permissive mode will work the same as before.)

Therefore, add an 'update_kernel_param' module parameter that will cause
it to set/unset the kernel command-line parameter using grubby when
enabling/disabling SELinux. (An explicit parameter was chosen for
backwards compatibility.)

More information:
https://lore.kernel.org/selinux/157836784986.560897.13893922675143903084.stgit@chester/
https://fedoraproject.org/wiki/Changes/Remove_Support_For_SELinux_Runtime_Disable

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2021-09-20 10:09:54 +05:30
ansible-zuul[bot]
7f16f56c5b
Merge pull request #248 from Akasurde/i247
firewalld: Correct usage of queryForwardPort

SUMMARY

Correct queryForwardPort API usage
Enable port_foward_test_cases tests

Fixes: #247
Signed-off-by: Abhijeet Kasurde akasurde@redhat.com
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
plugins/modules/firewalld.py
tests/integration/targets/firewalld/tasks/run_all_tests.yml

Reviewed-by: Hideki Saito <saito@fgrep.org>
Reviewed-by: None <None>
2021-08-18 09:14:19 +00:00
Abhijeet Kasurde
249e64a64d sanity fixes for pylint test
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-08-16 16:04:29 +05:30
Abhijeet Kasurde
12941f6d9a firewalld: Correct usage of queryForwardPort
* Correct queryForwardPort API usage
* Enable port_foward_test_cases tests

Fixes: #247

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-08-16 14:12:22 +05:30
Abhijeet Kasurde
c244abd82f Fix integration test fedora 34 with firewalld
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-08-10 15:17:24 +05:30
mandar242
244c9b2066 sysctl: Fix integration test virtualization type 2021-08-04 21:52:50 +05:30
ansible-zuul[bot]
b3e395a4a3
Merge pull request #239 from Akasurde/firewalld_test
Enable firewalld tests

SUMMARY
Signed-off-by: Abhijeet Kasurde akasurde@redhat.com
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
tests/integration/targets/firewalld/aliases
tests/integration/targets/setup_pkg_mgr/tasks/main.yml

Reviewed-by: Adam Miller <maxamillion@fedoraproject.org>
Reviewed-by: None <None>
2021-08-02 22:36:00 +00:00