f5devcentral / ansible-role-f5_atc_deploy_declaration

Ansible role used to deploy declaratives to F5 Automated Tool Chain services: AS3, DO, and TS
Apache License 2.0
7 stars 11 forks source link

update example? #24

Closed chen23 closed 4 years ago

chen23 commented 4 years ago

could there be an updated example on the readme? something like

- name: POST AT Declaration
  hosts: localhost
  tasks:
    - name: ATC POST
      include_role:
        name: f5devcentral.atc_deploy
      vars:
        provider:
          server: 192.168.1.245
          server_port: "443"
          user: admin
          password: admin
          validate_certs: "false"

        atc_method: POST
        #atc_declaration: "{{ lookup('template', 'decl.json') }}"
        # atc_declaration_file: files/as3.json
        # atc_declaration_url: "https://testurl/as3.json"
        atc_declaration_file: "files/as3.json"
        atc_delay: 10
        atc_retries: 5

    # atc_AS3_status, atc_DO_status , atc_TS_status
    - debug: var=atc_AS3_status