From e11c46c745ba1ba55ca6700c533f1a4c860589f4 Mon Sep 17 00:00:00 2001 From: taisuke-sato <59082493+taisuke-sato@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:07:05 +0900 Subject: [PATCH 1/5] Update 2.1-initial_setup_the_ios_device_via_smartcs.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vars直下のリスト記載を修正 --- ...nitial_setup_the_ios_device_via_smartcs.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/SmartCSxIOS_short-course/2.1-initial_setup_the_ios_device_via_smartcs.md b/SmartCSxIOS_short-course/2.1-initial_setup_the_ios_device_via_smartcs.md index 9efb29f..afd1712 100644 --- a/SmartCSxIOS_short-course/2.1-initial_setup_the_ios_device_via_smartcs.md +++ b/SmartCSxIOS_short-course/2.1-initial_setup_the_ios_device_via_smartcs.md @@ -129,7 +129,7 @@ vi ios_show_version.yml gather_facts: no vars: - - tty_no: "{{ hostvars['ios']['smartcs_tty'] }}" + tty_no: "{{ hostvars['ios']['smartcs_tty'] }}" tasks: - name: show version (IOS command) @@ -281,9 +281,9 @@ Playbookの内容は、下記の様になります。 gather_facts: no vars: - - tty_no: "{{ hostvars['ios']['smartcs_tty'] }}" - - ios_user: "{{ hostvars['ios']['ansible_user'] }}" - - ios_password: "{{ hostvars['ios']['ansible_password'] }}" + tty_no: "{{ hostvars['ios']['smartcs_tty'] }}" + ios_user: "{{ hostvars['ios']['ansible_user'] }}" + ios_password: "{{ hostvars['ios']['ansible_password'] }}" tasks: - name: rename login user and setting password @@ -430,13 +430,13 @@ vi ios_initial_setting_v2_ansible_reach.yml gather_facts: no vars: - - tty_no: "{{ hostvars['ios']['smartcs_tty'] }}" - - ios_ipaddr: "{{ hostvars['ios']['ansible_host'] }}" - - ios_user: "{{ hostvars['ios']['ansible_user'] }}" - - ios_password: "{{ hostvars['ios']['ansible_password'] }}" + tty_no: "{{ hostvars['ios']['smartcs_tty'] }}" + ios_ipaddr: "{{ hostvars['ios']['ansible_host'] }}" + ios_user: "{{ hostvars['ios']['ansible_user'] }}" + ios_password: "{{ hostvars['ios']['ansible_password'] }}" - - ios_subnet: '255.255.255.0' - - ios_gateway: '192.168.128.254' + ios_subnet: '255.255.255.0' + ios_gateway: '192.168.128.254' tasks: - name: setting ipaddr and ssh From 9a9763900a94e3a5d6b1a2c227a3deb9712b1cbf Mon Sep 17 00:00:00 2001 From: taisuke-sato <59082493+taisuke-sato@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:08:09 +0900 Subject: [PATCH 2/5] Update 2.2-additional_setup_the_ios_device.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vars直下のリスト記載を修正 --- .../2.2-additional_setup_the_ios_device.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/SmartCSxIOS_short-course/2.2-additional_setup_the_ios_device.md b/SmartCSxIOS_short-course/2.2-additional_setup_the_ios_device.md index b79086a..7e22d22 100644 --- a/SmartCSxIOS_short-course/2.2-additional_setup_the_ios_device.md +++ b/SmartCSxIOS_short-course/2.2-additional_setup_the_ios_device.md @@ -141,12 +141,12 @@ vi add_vlan.yml gather_facts: no vars: - - ansible_command_timeout: 60 + ansible_command_timeout: 60 - - vid: '100' - - ipaddr: '192.168.0.1' - - netmask: '255.255.255.0' - - portif : '0/2' + vid: '100' + ipaddr: '192.168.0.1' + netmask: '255.255.255.0' + portif : '0/2' tasks: - name: configure vlan @@ -409,17 +409,17 @@ STEP3のPlaybookは、host_vars/ios.ymlに設定する内容を記 その場合、varsに以下の変数を記載します。 ``` vars: - - ntp: + ntp: server: - 192.168.127.2 - 192.168.127.3 - - snmp: + snmp: community: - name: public auth: ro - name: secret auth: rw - - syslog: + syslog: server: - 192.168.127.2 - 192.168.127.3 From efb9da3962316d77a2bef037eff08b1cb6224864 Mon Sep 17 00:00:00 2001 From: taisuke-sato <59082493+taisuke-sato@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:09:10 +0900 Subject: [PATCH 3/5] Update 2.3-get_ios_device_information.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vars直下のリスト記載を修正 --- .../2.3-get_ios_device_information.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SmartCSxIOS_short-course/2.3-get_ios_device_information.md b/SmartCSxIOS_short-course/2.3-get_ios_device_information.md index a82ec4d..c4281e4 100644 --- a/SmartCSxIOS_short-course/2.3-get_ios_device_information.md +++ b/SmartCSxIOS_short-course/2.3-get_ios_device_information.md @@ -50,7 +50,7 @@ vi ios_commands.yml gather_facts: no vars: - - ansible_command_timeout: 60 + ansible_command_timeout: 60 tasks: - name: execute show commands @@ -146,7 +146,7 @@ vi save_show-commands.yml gather_facts: no vars: - - ansible_command_timeout: 60 + ansible_command_timeout: 60 tasks: - name: execute show commands @@ -255,7 +255,7 @@ vi save_running-config.yml gather_facts: no vars: - - ansible_command_timeout: 60 + ansible_command_timeout: 60 tasks: - name: gather ios facts all @@ -350,7 +350,7 @@ vi version_check.yml gather_facts: no vars: - - os_version: "12.2" + os_version: "12.2" tasks: - name: execute show commands From c1493b31dd6745ecc4fbaec7736a3ca2b4e18d1c Mon Sep 17 00:00:00 2001 From: taisuke-sato <59082493+taisuke-sato@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:09:55 +0900 Subject: [PATCH 4/5] Update 2.4-setting_of_ios_device_via_smartcs.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vars直下のリスト記載を修正 --- .../2.4-setting_of_ios_device_via_smartcs.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SmartCSxIOS_short-course/2.4-setting_of_ios_device_via_smartcs.md b/SmartCSxIOS_short-course/2.4-setting_of_ios_device_via_smartcs.md index 4baa439..e1d3565 100644 --- a/SmartCSxIOS_short-course/2.4-setting_of_ios_device_via_smartcs.md +++ b/SmartCSxIOS_short-course/2.4-setting_of_ios_device_via_smartcs.md @@ -86,10 +86,10 @@ vi console_login.yml gather_facts: no vars: - - tty_no: "{{ hostvars['ios']['smartcs_tty'] }}" - - ios_password: "{{ hostvars['ios']['ansible_password'] }}" + tty_no: "{{ hostvars['ios']['smartcs_tty'] }}" + ios_password: "{{ hostvars['ios']['ansible_password'] }}" - - ansible_command_timeout: 60 + ansible_command_timeout: 60 tasks: - name: login cat3550 @@ -128,9 +128,9 @@ vi console_logout.yml gather_facts: no vars: - - tty_no: "{{ hostvars['ios']['smartcs_tty'] }}" + tty_no: "{{ hostvars['ios']['smartcs_tty'] }}" - - ansible_command_timeout: 60 + ansible_command_timeout: 60 tasks: - name: logout cat3550 From 299d3218c0a0caef40fc6190323c1d43549598a0 Mon Sep 17 00:00:00 2001 From: taisuke-sato <59082493+taisuke-sato@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:18:25 +0900 Subject: [PATCH 5/5] Update README.md Add 16th handson --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index da6ce94..d0f75ac 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,12 @@ SmartCS x Ansible のハンズオンコンテンツをまとめたページと # ハンズオン コンテンツ -### [SmartCS x IOS x Ansible ハンズオン(第15回)](./SmartCSxIOS_short-course/README.md) +### [SmartCS x IOS x Ansible ハンズオン(第16回)](./SmartCSxIOS_short-course/README.md) + +- 時間:2024年9月19日(木)13時30分〜16時30分(受付13時20分より) +場所:オンライン開催@Zoom + +### [SmartCS x IOS x Ansible ハンズオン(第15回)](https://github.com/ssol-smartcs/ansible-handson/blob/2024.04.17/SmartCSxIOS_short-course/README.md) - 時間:2024年4月17日(水)13時30分〜16時30分(受付13時20分より) 場所:オンライン開催@Zoom