Skip to content

Commit a9b9a2b

Browse files
authored
Merge pull request #359 from ansible/devel
Devel
2 parents ce3a69a + 5b7b0e0 commit a9b9a2b

65 files changed

Lines changed: 960 additions & 353 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,15 @@ The Red Hat Ansible Automation Workshops project is intended for effectively dem
1616

1717
# SELF-PACED EXERCISES:
1818

19-
* [Vagrant Demo](vagrant-demo) - Self-paced networking exercises that can be run on your personal laptop
19+
- [Vagrant Demo](vagrant-demo) - Self-paced networking exercises that can be run on your personal laptop
20+
21+
# DOCUMENTATION:
22+
23+
- [How to contribute](docs/contribute.md)
24+
- [How to use the AWS Lab Provisioner](provisioner/README.md)
25+
- [FAQ](docs/faq.md)
26+
27+
2028

2129
---
2230
![Red Hat Ansible Automation](images/rh-ansible-automation.png)

_config.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
theme: jekyll-theme-dinky
2-
exclude:
3-
- "*.yml"
4-
- "*.yaml"
52
include:
6-
- "exercises/ansible_network/2-first-playbook/router_configs.yml"
3+
- "provisioner/README.md"
4+
exclude:
5+
- "demos/*"
6+
- "provisioner/roles"
7+
- "provisioner/group_vars"
8+
- "provisioner/inventory"

docs/contribute.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,39 @@ We take pull requests! What is a pull request?
77
More info on PRs: [https://help.github.com/en/articles/about-pull-requests](https://help.github.com/en/articles/about-pull-requests)
88

99
## Create a fork!
10+
1011
Create a fork on your own Github project (or your personal space)
1112

1213
[Github Documentation on Forking a repo](https://help.github.com/articles/fork-a-repo/)
1314

1415
## Stay in Sync
16+
1517
It is important to know how to keep your fork in sync with the upstream Workshops project.
1618

1719
### Configuring Your Remotes
20+
1821
Configure `ansible/workshops` as your upstream so you can stay in sync
1922

2023
```bash
2124
git remote add upstream https://github.com/ansible/workshops.git
2225
```
2326

2427
### Rebasing Your Branch
25-
Three step process
28+
29+
Rebase the branch on your fork
2630

2731
```bash
28-
git pull --rebase upstream master
32+
git pull --rebase upstream devel
2933
```
3034

35+
Check your status
36+
3137
```bash
3238
git status
3339
```
3440

3541
### Updating your Pull Request
42+
3643
```bash
3744
git push --force
3845
```
@@ -41,6 +48,8 @@ More info on docs.ansible.com: [Rebasing a Pull Request](http://docs.ansible.com
4148

4249
## Create a pull requests
4350

51+
**PULL REQUESTS MUST BE MADE INTO THE `DEVEL` BRANCH**
52+
4453
Make sure you are not behind (in sync) and then submit a PR to the Ansible Workshops.
4554
[Read the Pull Request Documentation on Github.com](https://help.github.com/articles/creating-a-pull-request/)
4655

@@ -53,6 +62,7 @@ Just because you submit a PR, doesn't mean that it will get accepted. Right now
5362
Being more descriptive is better, and has a higher change of getting merged upstream. Communication is key! Just b/c the PR doesn't get accepted right away doesn't mean it is not a good idea. Ansible Workshops have to balance many different types of users. Thank you for contributing!
5463

5564
# Going Further
65+
5666
The following links will be helpful if you want to contribute code to the Ansible Workshops project, or any Ansible project:
5767
- [Ansible Committer Guidelines](http://docs.ansible.com/ansible/latest/committer_guidelines.html)
5868
- [Learning Git](https://git-scm.com/book/en/v2)

exercises/ansible_f5/1.0-explore/README.ja.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 演習 1.0 - 演習環境の確認
22

3+
**Read this in other languages**: ![uk](../../../images/uk.png) [English](README.md), ![japan](../../../images/japan.png) [日本語](README.ja.md).
4+
35
演習を開始する前にぜひ Ansible Slack へ参加してください!(任意)
46

57
- [クリックして ansiblejp slack (日本語) へ参加](https://bit.ly/slack-ansiblejp)

exercises/ansible_f5/1.0-explore/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
### Exercise 1.0: Exploring the lab environment
22

3+
**Read this in other languages**: ![uk](../../../images/uk.png) [English](README.md), ![japan](../../../images/japan.png) [日本語](README.ja.md).
4+
35
Before you get started, please join us on slack! [Click here to join the ansiblenetwork slack](https://join.slack.com/t/ansiblenetwork/shared_invite/enQtMzEyMTcxMTE5NjM3LWIyMmQ4YzNhYTA4MjA2OTRhZDQzMTZkNWZlN2E3NzhhMWQ5ZTdmNmViNjk2M2JkYzJjODhjMjVjMGUxZjc2MWE). This will allow you to chat with other network automation engineers and get help after the workshops concludes.
46

57
#### Step 1

exercises/ansible_f5/1.1-get-facts/README.ja.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 演習 1.1 - Ansible による F5 BIG-IP の情報収集
22

3+
**Read this in other languages**: ![uk](../../../images/uk.png) [English](README.md), ![japan](../../../images/japan.png) [日本語](README.ja.md).
4+
35
## 目次
46

57
- [目的](#目的)
@@ -90,7 +92,7 @@ Ansible の playbook は **YAML** ファイルです。YAML は構造化され
9092

9193
## Step 4
9294

93-
次に2つ目の `task` を追加します。 このタスクでは `debug` モジュールを使って、register
95+
次に2つ目の `task` を追加します。 このタスクでは `debug` モジュールを使って、register
9496
された `bigip_device_facts variable` 変数の値を出力します。
9597

9698
{% raw %}

exercises/ansible_f5/1.1-get-facts/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Exercise 1.1: Using the bigip_device_facts module
22

3+
**Read this in other languages**: ![uk](../../../images/uk.png) [English](README.md), ![japan](../../../images/japan.png) [日本語](README.ja.md).
4+
35
## Table of Contents
46

57
- [Objective](#objective)

exercises/ansible_f5/1.2-add-node/README.ja.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 演習 1.2 - ノードの追加
22

3+
**Read this in other languages**: ![uk](../../../images/uk.png) [English](README.md), ![japan](../../../images/japan.png) [日本語](README.ja.md).
4+
35
## 目次
46

57
- [目的](#目的)
@@ -25,7 +27,7 @@
2527
2628
## Step 2:
2729

28-
以下の定義を `bigip-node.yml` に入力します :
30+
以下の定義を `bigip-node.yml` に入力します :
2931

3032
``` yaml
3133
---
@@ -73,12 +75,12 @@
7375

7476
- `name: CREATE NODES` : ユーザーが定義する説明文です。これは実行時に端末に表示されることになります。
7577
- `bigip_node:` : 使用するモジュールを宣言しています。 `loop` を除く全てのものは、モジュールのドキュメント上で定義されている、モジュールパラメータです。
76-
- `server: "{{private_ip}}"` : 接続先となるBIG-IPのIPアドレスを指定します。これはインベントリ内で `private_ip` として登録されているものです。
78+
- `server: "{{private_ip}}"` : 接続先となるBIG-IPのIPアドレスを指定します。これはインベントリ内で `private_ip` として登録されているものです。
7779
- `user: "{{ansible_user}}"` : BIG-IP へログインするユーザー名を指定します。
78-
- `password: "{{ansible_ssh_pass}}"` : BIG-IPへログインする際のパスワードを指定します。
80+
- `password: "{{ansible_ssh_pass}}"` : BIG-IPへログインする際のパスワードを指定します。
7981
- `server_port: 8443` : BIG-IPへ接続する際のポート番号を指定します。
8082
- `host: "{{hostvars[item].ansible_host}}"` : モジュールへインベントリに登録済みのWebサーバーのIPアドレスを追加します。
81-
- `name: "{{hostvars[item].inventory_hostname}}"` : `inventory_hostname` をホスト名(host1、host2 となります)として使うことを指示します。
83+
- `name: "{{hostvars[item].inventory_hostname}}"` : `inventory_hostname` をホスト名(host1、host2 となります)として使うことを指示します。
8284
- `validate_certs: "no"` : (あくまで演習用ラボなので)SSL証明書の検証を行わないように設定します。
8385
- `loop:` : 与えられた一覧に対してタスクをループ実行することを指定します。この演習では、二つのRHELホストを含む webservers グループが一覧となります。
8486

exercises/ansible_f5/1.2-add-node/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Exercise 1.2 - Adding nodes to F5 BIG-IP
22

3+
**Read this in other languages**: ![uk](../../../images/uk.png) [English](README.md), ![japan](../../../images/japan.png) [日本語](README.ja.md).
4+
35
## Table of Contents
46

57
- [Objective](#objective)

exercises/ansible_f5/1.3-add-pool/README.ja.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 演習 1.3 - プールの追加
22

3+
**Read this in other languages**: ![uk](../../../images/uk.png) [English](README.md), ![japan](../../../images/japan.png) [日本語](README.ja.md).
4+
35
## 目次
46

57
- [目的](#目的)
@@ -71,9 +73,9 @@
7173

7274
- `name: CREATE POOL` : ユーザーが定義する説明文です。これは実行時に端末に表示されることになります。
7375
- `bigip_pool:` : 使用するモジュールを宣言しています。
74-
- `server: "{{private_ip}}"` : 接続先となるBIG-IPのIPアドレスを指定します。これはインベントリ内で `private_ip` として登録されているものです。
76+
- `server: "{{private_ip}}"` : 接続先となるBIG-IPのIPアドレスを指定します。これはインベントリ内で `private_ip` として登録されているものです。
7577
- `user: "{{ansible_user}}"` : BIG-IP へログインするユーザー名を指定します。
76-
- `password: "{{ansible_ssh_pass}}"` : BIG-IPへログインする際のパスワードを指定します。
78+
- `password: "{{ansible_ssh_pass}}"` : BIG-IPへログインする際のパスワードを指定します。
7779
- `server_port: 8443` : BIG-IPへ接続する際のポート番号を指定します。
7880
- `name: "http_pool"` : 作成するプールの名前を指定します。
7981
- `lb_method: "round-robin"` : 負荷分散方式を round-robin に指定します。全ての設定可能な負荷分散方式は bigip_pool モジュールのドキュメンテーションで確認できます。

0 commit comments

Comments
 (0)