David K. Bainbridge | 317e7d7 | 2016-05-11 08:31:44 -0700 | [diff] [blame^] | 1 | --- |
| 2 | - name: Openflow Agent Debian Archive |
| 3 | get_url: |
| 4 | url: http://github.com/ciena/ZeroTouchProvisioning/raw/master/ofdpa-i.12.1.1_12.1.1%2Baccton1.7-1_amd64.deb |
| 5 | validate_certs: false |
| 6 | dest: /mnt/flash2/ofdpa-i.12.1.1_12.1.1%2Baccton1.7-1_amd64.deb |
| 7 | |
| 8 | - name: OpenFlow Agent Stopped |
| 9 | service: name=ofdpa state=stopped |
| 10 | |
| 11 | - name: Openflow Agent |
| 12 | apt: deb="/mnt/flash2/ofdpa-i.12.1.1_12.1.1%2Baccton1.7-1_amd64.deb" force=true |
| 13 | |
| 14 | - name: OpenFlow Agent Started |
| 15 | service: name=ofdpa state=started |
| 16 | |
| 17 | - name: Mark Persist Openflow Agent |
| 18 | command: persist /etc/accton/ofdpa.conf |
| 19 | |
| 20 | - name: Persist Openflow Agent |
| 21 | command: savepersist |
| 22 | failed_when: false |