2. Ansible Automation Platform¶
2.1. Introduction¶
2.2. Systen configuration¶
2.2.1. Systen configuration pattern¶
警告
No |
Configuration |
Description |
Ansible scaleout |
---|---|---|---|
1 |
Ansible Automation Platform (Hybrid pattern)
|
A configuration pattern that allows the Ansible Control node execute operations for Managed nodes.
While simple, this configuration requires a communication for each Managed node
|
Yes |
2 |
Ansible Automation Platform (Seperate Execution node pattern) |
A configuration where the Ansible Control node links with the Ansible Execution node in order to execute operations for Managed nodes.
In contrast to the Ansible Automation Platform (Hybrid pattern), this configuration is more complicated. In return, it allows the user to execute operations to the managed nodes as long as the Ansible Control node can communicate with the Ansible Execution node. The user does not need to configure communication settings for each Managed node.
|
Yes |
The following diagram illustrates the configuration for Ansible Automation Platform (Hybrid pattern).

図 2.1 Ansible Automation Platform (Hybrid pattern)¶
The following diagram illustrates the configuration for Ansible Automation Platform (Seperate Execution node pattern).

図 2.2 Ansible Automation Platform (Seperate Execution node pattern)¶
Communication number
※1
|
FROM |
TO |
Protocol
[Port number ※2]
|
Main application |
---|---|---|---|---|
① |
ITA system |
Control node |
http(s)
[80(443)/tcp]
|
Ansible Automation Platform control communication |
② |
ITA system |
Control node |
ssh [22/tcp] |
Ansible Automation Platform execution communication |
③ |
ITA system |
Git |
http(s)
[80(443)/tcp]
|
File link |
④ |
Control node |
Target device |
Any
(ssh [22/tcp] telnet [23/tcp] etc. ※3)
|
Run commands to aumtomatic configuration devices |
⑤ |
Control node |
Git |
http(s)
[80(443)/tcp]
|
File link |
2.3. System requirements¶
Exastro IT Automation
|
Ansible Automation Platform |
|||
---|---|---|---|---|
2.1 |
2.2 |
2.3 |
2.4 |
|
2.0.x |
○ |
○ |
||
2.1.x |
○ |
○ |
||
2.2.x |
○ |
○ |
||
2.3.x |
○ |
○ |
○ |
2.4. Playbook link¶

図 2.3 ITA and Ansible Automation Platform 2.x Playbook link Diagram¶
2.5. Initial settings¶
Setting |
Ansible Automation Platform 2.x |
---|---|
ITA Operation directory preparation |
〇 |
ITA Operation directory publication |
〇 |
Ansible Automation Platform file transfer user preparation |
〇 |
Ansible Automation Platform Git user preparation |
〇 |
Proxy settings |
△ |
2.5.1. ITA Operation directory preparation¶
Item |
Setting value |
---|---|
Directory path |
/var/lib/exastro |
Owner/Group |
awx:awx |
Permission |
0755 |
2.5.2. ITA Operation directory publication¶
/var/lib/exastro/
.
2.5.3. Ansible Automation Platform file transfer user preparation¶
警告
2.5.4. Ansible Automation Platform Git user preparation¶
Item |
Value |
---|---|
User |
awx |
Password |
Not set |
Secret key |
/home/awx/.ssh/rsa_awx_key |
Public key |
/home/awx/.ssh/rsa_awx_key.pub |
2.5.5. Proxy settings¶
https_proxy
http_proxy
no_proxy
HTTPS_PROXY
HTTP_PROXY
NO_PROXY

警告
2.6. Adding Organizations¶
2.6.1. Create Organizations¶
- Click the Add button under .
- Fill out the corresponding items and click Save.See the table below for the required items and their values.
Item |
Set value |
Remarks |
---|---|---|
Name |
(User-set name) |
|
Instance group |
※Leave as unselected |
Set with "Link Organization and Instance group " |
2.6.2. Register Application¶
- Click the Add button under .
- Fill out the corresponding items and click Save.See the table below for the required items and their values.
Item |
Set value |
Remarks |
---|---|---|
Name |
(User-set name) |
Use with「 Authentication token pay-out 」 |
Organization |
Select organization created here:" Create Organizations " |
|
Authentication grant type |
Select Resource owner password base |
|
Client type |
Secret |
2.6.3. Create user¶
- Click the Add button under .
- Fill out the corresponding items and click Save.See the table below for the required items and their values.
Item |
Set value |
Remarks |
---|---|---|
Name |
(User-set name) |
|
Password |
(User-set password) |
|
Confirm Password |
(User-set password) |
|
User type |
Select Standard user |
|
Organization |
Select organization created here: "Create Organizations " |
2.6.4. Configure Roles¶
- Click the username you created in Create user under .
- This will move you to the User details menu. Select "Role" and click the Add button.
- Follow the instructions below and add the required user permissions.
- When adding Resource types, select "Organization" and click the Next button.
- When selecting List items, select the organization created in Create Organizations and click the Next button.※Do not grant any roles to organizations that were not created in Create Organizations.
- When selecting role, select both "Admin" and "Member" and click Save.
2.6.5. Authentication token pay-out¶
- Press the Add button under .
- Fill out the corresponding items and click Save.See the table below for the required items and their values.
Item |
Set value |
Remarks |
---|---|---|
Application |
Select application created here: " Register Application "" |
|
Range |
Select Write |
2.7. Add Workspaces¶
2.7.1. Add Instances¶
2.7.2. Create Instance groups¶
- Select the Instance group you are adding the Ansible ee Instance in Add Instances under .
- Fill out the corresponding items and click Save.See the table below for the required items and their values.
Item |
Set value |
Remarks |
---|---|---|
Name |
(User-set name) |
See the following for rules regarding names. |
2.7.3. Add Instance to Instance group¶
- Select the Instance group you are adding the Ansible ee Instance in Add Instances under .
- This will move you to the Instance group details menu. Press the Associate button.tab and click the
- This will move you to the Instance selection menu. the Ansible ee Instance should be displayed. Select it and press the Save button.
2.7.4. Link Organization and Instance group¶
- Go to Create Organizations.and select the name of the Organization created in
- This will move you to the Details menu. Press the Edit button.
- This will move you to the Edit menu. Select the Instance group from earlier and click the Save button.※Multiple selectable
2.7.5. Register Authentication token and Organization to ITA¶
警告
※The Backyard collects the organizations associated with the users corresponding to each authentication token and displays them in the pull-down.
注釈