Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

17 líneas
590 B

  1. ---
  2. - name: Include new vars in matrix_vars.yml
  3. include_vars:
  4. file: '{{ awx_cached_matrix_vars }}'
  5. no_log: true
  6. - name: If include_vars succeeds overwrite the old matrix_vars.yml
  7. delegate_to: 127.0.0.1
  8. shell: "cp {{ awx_cached_matrix_vars }} /var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml && rm {{ awx_cached_matrix_vars }}"
  9. - name: Copy new 'matrix_vars.yml' to target machine
  10. copy:
  11. src: '/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml'
  12. dest: '/matrix/awx/matrix_vars.yml'
  13. mode: '0660'