Modulos Flashcards

1
Q

Como se usa el

Módulo get_url

A
  • name: name of the play
    vars:
    config_file_url: “{{ resources_url }}/my.conf.standard”
    config_file_dest: /etc/my.cnftasks:
    - name: task name
    geturl:
    url: “{{ config_file_url }}”
    dest: “{{ config_file_dest }}”
    owner: mysql
    group: mysql
    force: yes
    notify:
    - restart db service
    handlers:
    • name: restart service
      service:
      - name: “{{ db_service }}”
      state: restarted
How well did you know this?
1
Not at all
2
3
4
5
Perfectly