Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve dnf test formatting and fix RHEL 8 module name #58648

Merged
merged 1 commit into from Jul 3, 2019

Conversation

samdoran
Copy link
Contributor

@samdoran samdoran commented Jul 2, 2019

SUMMARY
  • use single include_vars task rather than multiple set_fact tasks
  • use multi-line YAML to break up long conditionals
  • use version() test rather than direct comparisons
  • use different appstream package on RHEL since '@swig:3.0/default' is not working in the GA

I am not sure why, but it seems using /default in the RHEL 8 GA is broken. According to this document, /default should be omitted:

Omit /profile to use the default profile. If no profile is set as default, this step fails without a specified profile and you must specify it.

Maybe it's just a problem with swig but I got similar errors using /default on other modules. I believe I found a module that works reliably with RHEL 8 GA.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

test/integration/targets/dnf/

- use single include_vars task rather than multiple set_fact tasks
- use multi-line YAML to break up long conditionals
- use version() test rather than direct comparisions
- use different appstream package on RHEL since '@swig:3.0/default' is not working in the GA
@ansibot
Copy link
Contributor

ansibot commented Jul 2, 2019

@ansibot ansibot added affects_2.9 This issue/PR affects Ansible v2.9 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Jul 2, 2019
@samdoran samdoran merged commit 16d6fcf into ansible:devel Jul 3, 2019
@samdoran samdoran deleted the ci/fix-dnf-tests-for-rhel8 branch July 3, 2019 15:11
samdoran added a commit to samdoran/ansible that referenced this pull request Jul 3, 2019
…nsible#58648)

- use single include_vars task rather than multiple set_fact tasks
- use multi-line YAML to break up long conditionals
- use version() test rather than direct comparisions
- use different appstream package on RHEL since '@swig:3.0/default' is not working in the GA
(cherry picked from commit 16d6fcf)

Co-authored-by: Sam Doran <sdoran@redhat.com>
samdoran added a commit to samdoran/ansible that referenced this pull request Jul 3, 2019
…nsible#58648)

- use single include_vars task rather than multiple set_fact tasks
- use multi-line YAML to break up long conditionals
- use version() test rather than direct comparisions
- use different appstream package on RHEL since '@swig:3.0/default' is not working in the GA.
(cherry picked from commit 16d6fcf)

Co-authored-by: Sam Doran <sdoran@redhat.com>
samdoran added a commit to samdoran/ansible that referenced this pull request Jul 3, 2019
…nsible#58648)

- use single include_vars task rather than multiple set_fact tasks
- use multi-line YAML to break up long conditionals
- use version() test rather than direct comparisions
(cherry picked from commit 16d6fcf)
abadger pushed a commit that referenced this pull request Jul 16, 2019
…58648)

- use single include_vars task rather than multiple set_fact tasks
- use multi-line YAML to break up long conditionals
- use version() test rather than direct comparisions
- use different appstream package on RHEL since '@swig:3.0/default' is not working in the GA
(cherry picked from commit 16d6fcf)

Co-authored-by: Sam Doran <sdoran@redhat.com>
abadger pushed a commit that referenced this pull request Jul 17, 2019
…58648)

- use single include_vars task rather than multiple set_fact tasks
- use multi-line YAML to break up long conditionals
- use version() test rather than direct comparisions
- use different appstream package on RHEL since '@swig:3.0/default' is not working in the GA.
(cherry picked from commit 16d6fcf)

Co-authored-by: Sam Doran <sdoran@redhat.com>
abadger pushed a commit that referenced this pull request Jul 17, 2019
…58648)

- use single include_vars task rather than multiple set_fact tasks
- use multi-line YAML to break up long conditionals
- use version() test rather than direct comparisions
(cherry picked from commit 16d6fcf)
@ansible ansible locked and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.9 This issue/PR affects Ansible v2.9 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants