Skip to content
Snippets Groups Projects
  1. Mar 01, 2021
    • Mark Goddard's avatar
      Ubuntu: update Apt cache before package installation · 0c309a18
      Mark Goddard authored
      Update Apt cache prior to all package installation tasks.
      
      Adds apt_cache_valid_time, which defaults to 3600 seconds. This allows
      the time for which the Apt cache is valid to be configured.
      
      Change-Id: I0ecf4f4ce9b7333d3e41c69c3f908bee83391781
      Story: 2004960
      Task: 41766
      0c309a18
  2. Dec 09, 2019
    • Mark Goddard's avatar
      Switch to generic package module · c4ffd394
      Mark Goddard authored
      This makes platform independence easier. There are some cases where we
      still use the yum module, where we use yum-specific module parameters.
      
      Also switch use of the state 'installed' to 'present', which is
      supported by all the package modules, whereas installed is supported by
      the yum module only.
      
      Change-Id: Id1cf845adc7aa6565a7a570569c9a81a478560f0
      c4ffd394
  3. Jun 28, 2019
    • Raimund Hook's avatar
      Updating Jinja filters to conform to Ansible 2.5+ · 6df62770
      Raimund Hook authored
      Since Ansible 2.5, the use of jinja tests as filters has been deprecated.
      
      I've run the script provided by the ansible team to 'fix' the jinja filters
      to conform to the newer syntax.
      
      This fixes the deprecation warnings.
      
      Change-Id: I775c849c944f82bdfc779c8c530346e7ebedbd2a
      6df62770
  4. Jan 18, 2019
  5. Dec 20, 2017
  6. Dec 19, 2017
  7. Nov 12, 2017
  8. Aug 15, 2017
    • Mark Goddard's avatar
      Work around issue with delegate_to not respecting ansible_user · 1e750200
      Mark Goddard authored
      When using delegate_to with an IP address, ansible does use the corresponding
      host in the inventory, and so not respect the ansible_user variable of the
      delegate host. Here we revert to using the delegate host's inventory hostname,
      and force ansible to respect the ansible_host variable of that host by setting
      the variable in the task explicitly.
      1e750200
  9. Apr 27, 2017
  10. Apr 05, 2017
  11. Apr 01, 2017
  12. Mar 27, 2017
Loading