Skip to content
Snippets Groups Projects
  1. Sep 04, 2020
    • Rafael Guterres Jeffman's avatar
      Fixed log of vault data return when retrieving to a file. · 1f666609
      Rafael Guterres Jeffman authored
      When retrieving data from a vault using `out` to store the data in a
      file resulted is random characters being returned and logged. These
      characters could generate a traceback print from Ansible's logger,
      without breaking the script.
      
      The reason for that is that the result from `vault_retrive` was being
      processed when it was not needed, and data was beeing returned, when
      it shouldn't.
      
      This patch fixes this behavior by supressing the return data when `data`
      is not available, and only raising an error if it should be available.
      1f666609
  2. Sep 03, 2020
  3. Sep 02, 2020
    • Sergio Oliveira's avatar
      Merge pull request #376 from rjeffman/ci_add_yml_linters · ce5ee80f
      Sergio Oliveira authored
      Add support for ansible-lint and yamllint as Github actions.
      Unverified
      ce5ee80f
    • Rafael Guterres Jeffman's avatar
      Add script to run linters. · b7900f1c
      Rafael Guterres Jeffman authored
      The scprit `lint_check.sh` under utils runs the same linters as the
      Github Actions, with the same configuration.
      
      The changes on setup.cfg are required if flake8-docstrings is used,
      so its output is the same as pydocstlye.
      b7900f1c
    • Rafael Guterres Jeffman's avatar
      Disable Python linters on Azure pipelines. · 121f59bb
      Rafael Guterres Jeffman authored
      This patch disables execution of Python lintes on Azure pipelines, as
      they are now executed through Github Actions.
      121f59bb
    • Rafael Guterres Jeffman's avatar
      Enable Python linters as Github Actions · bbf6d51f
      Rafael Guterres Jeffman authored
      Flake8 and Pydocstyle were already being used as checks on Azure
      pipelines, and this change enable the use of both as Github actions
      run on every push (on any fork) end every pull-request.
      
      I uses `rjeffman/python-lint-action` to run both linters using the
      project's configuration.
      bbf6d51f
    • Rafael Guterres Jeffman's avatar
      Fix ansible-lint warning on molecule playbooks. · f2b4bac3
      Rafael Guterres Jeffman authored
      Ansible best practice is to not use `latest` for the `package` module
      state. As we want to use it in the case of nss, this change will
      disable checking for this case.
      f2b4bac3
    • Rafael Guterres Jeffman's avatar
      Enable yaml-lint Github action on push/pull-requests. · c05a7233
      Rafael Guterres Jeffman authored
      By running yamllint we add one more verification of quality to the
      playbooks used on/provided by ansible-freeipa, that will be executed
      on every push (even on forks) or pull-requests.
      
      This patch provides the configuration needed to run yamllint on
      the playbooks found in the `tests`, `playbooks` and `molecule`
      directories, on every push or pull-request done on Github, using
      ibiqlik/action-yamllint action version `v1`.
      
      The current configuration for yamllint has many rules disable, so
      the problems found can be fixed later. All rules after the comment
      `# Disabled rules` should be enabled in the near future.
      c05a7233
  4. Sep 01, 2020
  5. Aug 31, 2020
  6. Aug 28, 2020
  7. Aug 27, 2020
  8. Aug 26, 2020
  9. Aug 25, 2020
  10. Aug 24, 2020
  11. Aug 23, 2020
Loading