1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

DRY: using YAML anchors and aliases (#7248)

This commit is contained in:
Alexei Znamensky 2023-09-13 00:49:23 +12:00 committed by GitHub
parent 6e3a56ffce
commit 17c7687283
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 75 additions and 75 deletions

View file

@ -11,12 +11,12 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/perl, -le, 'use Dancer;'] - command: [/testbin/perl, -le, 'use Dancer;']
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: &env-def-false {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false}
rc: 2 rc: 2
out: "" out: ""
err: "error, not installed" err: "error, not installed"
- command: [/testbin/cpanm, Dancer] - command: [/testbin/cpanm, Dancer]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: &env-def-true {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true}
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -27,7 +27,7 @@
changed: false changed: false
run_command_calls: run_command_calls:
- command: [/testbin/perl, -le, 'use Dancer;'] - command: [/testbin/perl, -le, 'use Dancer;']
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def-false
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -39,7 +39,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, Dancer] - command: [/testbin/cpanm, Dancer]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -50,7 +50,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, MIYAGAWA/Plack-0.99_05.tar.gz] - command: [/testbin/cpanm, MIYAGAWA/Plack-0.99_05.tar.gz]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -62,7 +62,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, MIYAGAWA/Plack-0.99_05.tar.gz] - command: [/testbin/cpanm, MIYAGAWA/Plack-0.99_05.tar.gz]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -75,7 +75,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, --local-lib, /srv/webapps/my_app/extlib, Dancer] - command: [/testbin/cpanm, --local-lib, /srv/webapps/my_app/extlib, Dancer]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -87,7 +87,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, /srv/webapps/my_app/src/] - command: [/testbin/cpanm, /srv/webapps/my_app/src/]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -101,7 +101,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, --notest, --local-lib, /srv/webapps/my_app/extlib, Dancer] - command: [/testbin/cpanm, --notest, --local-lib, /srv/webapps/my_app/extlib, Dancer]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -114,7 +114,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, --mirror, "http://cpan.cpantesters.org/", Dancer] - command: [/testbin/cpanm, --mirror, "http://cpan.cpantesters.org/", Dancer]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -135,7 +135,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, Dancer~1.0] - command: [/testbin/cpanm, Dancer~1.0]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -148,7 +148,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, Dancer~1.5] - command: [/testbin/cpanm, Dancer~1.5]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -161,7 +161,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, Dancer@1.7] - command: [/testbin/cpanm, Dancer@1.7]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -192,7 +192,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, "git://github.com/plack/Plack.git@1.7"] - command: [/testbin/cpanm, "git://github.com/plack/Plack.git@1.7"]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -205,7 +205,7 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/cpanm, "git://github.com/plack/Plack.git@2.5"] - command: [/testbin/cpanm, "git://github.com/plack/Plack.git@2.5"]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def-true
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""

View file

@ -11,7 +11,7 @@
output: {} output: {}
run_command_calls: run_command_calls:
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename] - command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: &env-def {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true}
rc: 0 rc: 0
out: "100\n" out: "100\n"
err: "" err: ""
@ -22,7 +22,7 @@
output: {} output: {}
run_command_calls: run_command_calls:
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename] - command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "No value set for `/desktop/gnome/background/picture_filename'\n" err: "No value set for `/desktop/gnome/background/picture_filename'\n"
@ -37,17 +37,17 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename] - command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "100\n" out: "100\n"
err: "" err: ""
- command: [/testbin/gconftool-2, --type, int, --set, /desktop/gnome/background/picture_filename, "200"] - command: [/testbin/gconftool-2, --type, int, --set, /desktop/gnome/background/picture_filename, "200"]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename] - command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "200\n" out: "200\n"
err: "" err: ""
@ -62,17 +62,17 @@
changed: false changed: false
run_command_calls: run_command_calls:
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename] - command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "200\n" out: "200\n"
err: "" err: ""
- command: [/testbin/gconftool-2, --type, int, --set, /desktop/gnome/background/picture_filename, "200"] - command: [/testbin/gconftool-2, --type, int, --set, /desktop/gnome/background/picture_filename, "200"]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename] - command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "200\n" out: "200\n"
err: "" err: ""
@ -87,17 +87,17 @@
changed: false changed: false
run_command_calls: run_command_calls:
- command: [/testbin/gconftool-2, --get, /apps/gnome_settings_daemon/screensaver/start_screensaver] - command: [/testbin/gconftool-2, --get, /apps/gnome_settings_daemon/screensaver/start_screensaver]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "false\n" out: "false\n"
err: "" err: ""
- command: [/testbin/gconftool-2, --type, bool, --set, /apps/gnome_settings_daemon/screensaver/start_screensaver, "False"] - command: [/testbin/gconftool-2, --type, bool, --set, /apps/gnome_settings_daemon/screensaver/start_screensaver, "False"]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
- command: [/testbin/gconftool-2, --get, /apps/gnome_settings_daemon/screensaver/start_screensaver] - command: [/testbin/gconftool-2, --get, /apps/gnome_settings_daemon/screensaver/start_screensaver]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "false\n" out: "false\n"
err: "" err: ""
@ -110,12 +110,12 @@
changed: true changed: true
run_command_calls: run_command_calls:
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename] - command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "200\n" out: "200\n"
err: "" err: ""
- command: [/testbin/gconftool-2, --unset, /desktop/gnome/background/picture_filename] - command: [/testbin/gconftool-2, --unset, /desktop/gnome/background/picture_filename]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -128,12 +128,12 @@
changed: false changed: false
run_command_calls: run_command_calls:
- command: [/testbin/gconftool-2, --get, /apps/gnome_settings_daemon/screensaver/start_screensaver] - command: [/testbin/gconftool-2, --get, /apps/gnome_settings_daemon/screensaver/start_screensaver]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
- command: [/testbin/gconftool-2, --unset, /apps/gnome_settings_daemon/screensaver/start_screensaver] - command: [/testbin/gconftool-2, --unset, /apps/gnome_settings_daemon/screensaver/start_screensaver]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""

View file

@ -11,7 +11,7 @@
value: '100' value: '100'
run_command_calls: run_command_calls:
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename] - command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: &env-def {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true}
rc: 0 rc: 0
out: "100\n" out: "100\n"
err: "" err: ""
@ -22,7 +22,7 @@
value: null value: null
run_command_calls: run_command_calls:
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename] - command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "No value set for `/desktop/gnome/background/picture_filename'\n" err: "No value set for `/desktop/gnome/background/picture_filename'\n"

View file

@ -12,12 +12,12 @@
msg: installed 1 package(s) msg: installed 1 package(s)
run_command_calls: run_command_calls:
- command: [/testbin/opkg, list-installed, zlib-dev] - command: [/testbin/opkg, list-installed, zlib-dev]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: &env-def {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false}
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
- command: [/testbin/opkg, install, zlib-dev] - command: [/testbin/opkg, install, zlib-dev]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: | out: |
Installing zlib-dev (1.2.11-6) to root... Installing zlib-dev (1.2.11-6) to root...
@ -28,7 +28,7 @@
Configuring zlib-dev. Configuring zlib-dev.
err: "" err: ""
- command: [/testbin/opkg, list-installed, zlib-dev] - command: [/testbin/opkg, list-installed, zlib-dev]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: | out: |
zlib-dev - 1.2.11-6 zlib-dev - 1.2.11-6
@ -41,7 +41,7 @@
msg: package(s) already present msg: package(s) already present
run_command_calls: run_command_calls:
- command: [/testbin/opkg, list-installed, zlib-dev] - command: [/testbin/opkg, list-installed, zlib-dev]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: | out: |
zlib-dev - 1.2.11-6 zlib-dev - 1.2.11-6
@ -55,13 +55,13 @@
msg: installed 1 package(s) msg: installed 1 package(s)
run_command_calls: run_command_calls:
- command: [/testbin/opkg, list-installed, zlib-dev] - command: [/testbin/opkg, list-installed, zlib-dev]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: | out: |
zlib-dev - 1.2.11-6 zlib-dev - 1.2.11-6
err: "" err: ""
- command: [/testbin/opkg, install, --force-reinstall, zlib-dev] - command: [/testbin/opkg, install, --force-reinstall, zlib-dev]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: | out: |
Installing zlib-dev (1.2.11-6) to root... Installing zlib-dev (1.2.11-6) to root...
@ -69,7 +69,7 @@
Configuring zlib-dev. Configuring zlib-dev.
err: "" err: ""
- command: [/testbin/opkg, list-installed, zlib-dev] - command: [/testbin/opkg, list-installed, zlib-dev]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: | out: |
zlib-dev - 1.2.11-6 zlib-dev - 1.2.11-6
@ -82,12 +82,12 @@
msg: installed 1 package(s) msg: installed 1 package(s)
run_command_calls: run_command_calls:
- command: [/testbin/opkg, list-installed, zlib-dev] - command: [/testbin/opkg, list-installed, zlib-dev]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
- command: [/testbin/opkg, install, zlib-dev=1.2.11-6] - command: [/testbin/opkg, install, zlib-dev=1.2.11-6]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: | out: |
Installing zlib-dev (1.2.11-6) to root... Installing zlib-dev (1.2.11-6) to root...
@ -98,7 +98,7 @@
Configuring zlib-dev. Configuring zlib-dev.
err: "" err: ""
- command: [/testbin/opkg, list-installed, zlib-dev] - command: [/testbin/opkg, list-installed, zlib-dev]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "zlib-dev - 1.2.11-6 \n" # This output has the extra space at the end, to satisfy the behaviour of Yocto/OpenEmbedded's opkg out: "zlib-dev - 1.2.11-6 \n" # This output has the extra space at the end, to satisfy the behaviour of Yocto/OpenEmbedded's opkg
err: "" err: ""
@ -111,17 +111,17 @@
msg: installed 1 package(s) msg: installed 1 package(s)
run_command_calls: run_command_calls:
- command: [/testbin/opkg, update] - command: [/testbin/opkg, update]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
- command: [/testbin/opkg, list-installed, vim-fuller] - command: [/testbin/opkg, list-installed, vim-fuller]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
- command: [/testbin/opkg, install, vim-fuller] - command: [/testbin/opkg, install, vim-fuller]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: | out: |
Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest. Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest.
@ -136,7 +136,7 @@
Configuring vim-fuller. Configuring vim-fuller.
err: "" err: ""
- command: [/testbin/opkg, list-installed, vim-fuller] - command: [/testbin/opkg, list-installed, vim-fuller]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "vim-fuller - 9.0-1 \n" # This output has the extra space at the end, to satisfy the behaviour of Yocto/OpenEmbedded's opkg out: "vim-fuller - 9.0-1 \n" # This output has the extra space at the end, to satisfy the behaviour of Yocto/OpenEmbedded's opkg
err: "" err: ""

View file

@ -10,7 +10,7 @@
changed: false changed: false
run_command_calls: run_command_calls:
- command: [/testbin/puppet, config, print, agent_disabled_lockfile] - command: [/testbin/puppet, config, print, agent_disabled_lockfile]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: &env-def {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false}
rc: 0 rc: 0
out: "blah, anything" out: "blah, anything"
err: "" err: ""
@ -29,7 +29,7 @@
- --verbose - --verbose
- --color - --color
- "0" - "0"
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -40,7 +40,7 @@
changed: false changed: false
run_command_calls: run_command_calls:
- command: [/testbin/puppet, config, print, agent_disabled_lockfile] - command: [/testbin/puppet, config, print, agent_disabled_lockfile]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "blah, anything" out: "blah, anything"
err: "" err: ""
@ -60,7 +60,7 @@
- --color - --color
- "0" - "0"
- --certname=potatobox - --certname=potatobox
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -71,7 +71,7 @@
changed: false changed: false
run_command_calls: run_command_calls:
- command: [/testbin/puppet, config, print, agent_disabled_lockfile] - command: [/testbin/puppet, config, print, agent_disabled_lockfile]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "blah, anything" out: "blah, anything"
err: "" err: ""
@ -92,7 +92,7 @@
- "0" - "0"
- --tags - --tags
- a,b,c - a,b,c
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -103,7 +103,7 @@
changed: false changed: false
run_command_calls: run_command_calls:
- command: [/testbin/puppet, config, print, agent_disabled_lockfile] - command: [/testbin/puppet, config, print, agent_disabled_lockfile]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "blah, anything" out: "blah, anything"
err: "" err: ""
@ -124,7 +124,7 @@
- "0" - "0"
- --skip_tags - --skip_tags
- d,e,f - d,e,f
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -135,7 +135,7 @@
changed: false changed: false
run_command_calls: run_command_calls:
- command: [/testbin/puppet, config, print, agent_disabled_lockfile] - command: [/testbin/puppet, config, print, agent_disabled_lockfile]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "blah, anything" out: "blah, anything"
err: "" err: ""
@ -155,7 +155,7 @@
- --color - --color
- "0" - "0"
- --no-noop - --no-noop
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -166,7 +166,7 @@
changed: false changed: false
run_command_calls: run_command_calls:
- command: [/testbin/puppet, config, print, agent_disabled_lockfile] - command: [/testbin/puppet, config, print, agent_disabled_lockfile]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "blah, anything" out: "blah, anything"
err: "" err: ""
@ -186,7 +186,7 @@
- --color - --color
- "0" - "0"
- --noop - --noop
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""

View file

@ -23,12 +23,12 @@
value: '90' value: '90'
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/inactive_opacity] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/inactive_opacity]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: &env-def {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false}
rc: 0 rc: 0
out: "100\n" out: "100\n"
err: "" err: ""
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/inactive_opacity, --create, --type, int, --set, '90'] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/inactive_opacity, --create, --type, int, --set, '90']
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -46,12 +46,12 @@
value: '90' value: '90'
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/inactive_opacity] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/inactive_opacity]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "90\n" out: "90\n"
err: "" err: ""
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/inactive_opacity, --create, --type, int, --set, '90'] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/inactive_opacity, --create, --type, int, --set, '90']
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -69,12 +69,12 @@
value: 'False' value: 'False'
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --channel, xfce4-session, --property, /general/SaveOnExit] - command: [/testbin/xfconf-query, --channel, xfce4-session, --property, /general/SaveOnExit]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "true\n" out: "true\n"
err: "" err: ""
- command: [/testbin/xfconf-query, --channel, xfce4-session, --property, /general/SaveOnExit, --create, --type, bool, --set, 'false'] - command: [/testbin/xfconf-query, --channel, xfce4-session, --property, /general/SaveOnExit, --create, --type, bool, --set, 'false']
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "false\n" out: "false\n"
err: "" err: ""
@ -92,7 +92,7 @@
value: [A, B, C] value: [A, B, C]
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/workspace_names] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/workspace_names]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "Value is an array with 3 items:\n\nMain\nWork\nTmp\n" out: "Value is an array with 3 items:\n\nMain\nWork\nTmp\n"
err: "" err: ""
@ -116,7 +116,7 @@
- string - string
- --set - --set
- C - C
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -134,7 +134,7 @@
value: [A, B, C] value: [A, B, C]
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/workspace_names] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/workspace_names]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "Value is an array with 3 items:\n\nA\nB\nC\n" out: "Value is an array with 3 items:\n\nA\nB\nC\n"
err: "" err: ""
@ -158,7 +158,7 @@
- string - string
- --set - --set
- C - C
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""
@ -174,12 +174,12 @@
value: null value: null
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/workspace_names] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/workspace_names]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "Value is an array with 3 items:\n\nA\nB\nC\n" out: "Value is an array with 3 items:\n\nA\nB\nC\n"
err: "" err: ""
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/workspace_names, --reset] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/workspace_names, --reset]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false} environ: *env-def
rc: 0 rc: 0
out: "" out: ""
err: "" err: ""

View file

@ -13,7 +13,7 @@
is_array: false is_array: false
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/inactive_opacity] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/inactive_opacity]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: &env-def {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true}
rc: 0 rc: 0
out: "100\n" out: "100\n"
err: "" err: ""
@ -24,7 +24,7 @@
output: {} output: {}
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/i_dont_exist] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/i_dont_exist]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 1 rc: 1
out: "" out: ""
err: 'Property "/general/i_dont_exist" does not exist on channel "xfwm4".\n' err: 'Property "/general/i_dont_exist" does not exist on channel "xfwm4".\n'
@ -44,7 +44,7 @@
value_array: [Main, Work, Tmp] value_array: [Main, Work, Tmp]
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/workspace_names] - command: [/testbin/xfconf-query, --channel, xfwm4, --property, /general/workspace_names]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "Value is an array with 3 items:\n\nMain\nWork\nTmp\n" out: "Value is an array with 3 items:\n\nMain\nWork\nTmp\n"
err: "" err: ""
@ -54,7 +54,7 @@
channels: [a, b, c] channels: [a, b, c]
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --list] - command: [/testbin/xfconf-query, --list]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: "Channels:\n a\n b\n c\n" out: "Channels:\n a\n b\n c\n"
err: "" err: ""
@ -71,7 +71,7 @@
- /general/zoom_desktop - /general/zoom_desktop
run_command_calls: run_command_calls:
- command: [/testbin/xfconf-query, --list, --channel, xfwm4] - command: [/testbin/xfconf-query, --list, --channel, xfwm4]
environ: {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true} environ: *env-def
rc: 0 rc: 0
out: | out: |
/general/wrap_cycle /general/wrap_cycle