Skip to content

Commit

Permalink
fix(ansible): typo
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com>
  • Loading branch information
glimchb committed May 29, 2024
1 parent 3ced072 commit a615e5d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lab/ansible/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,8 @@
- name: Nvidia | Fix dhcp client config and then run sztp agent container
when: inventory_hostname == 'bf123'
block:
- name: Nvidia | Add sztp option to dhcp client config
ansible.builtin.lineinfile: backup=true path=/etc/dhcp/dhclient.conf insertbefore='^option(.*)code(.*)$' line='option sztp-redirect-urls code 143 = text;'
- name: Nvidia | Add sztp option to dhcp client
ansible.builtin.lineinfile: backup=true path=/etc/dhcp/dhclient.conf regexp=^(request .*) line: \g<1> sztp-redirect-urls,
- ansible.builtin.lineinfile: backup=true path=/etc/dhcp/dhclient.conf insertbefore='^option(.*)code(.*)$' line='option sztp-redirect-urls code 143 = text;'
- ansible.builtin.lineinfile: backup=true path=/etc/dhcp/dhclient.conf regexp='^(request .*)' line='\g<1> sztp-redirect-urls,'
- name: Nvidia | Run sztp agent container on Nvidia BF
community.docker.docker_container:
name: sztp
Expand Down

0 comments on commit a615e5d

Please sign in to comment.