Update bigdata inventory file
Showing
11 changed files
with
0 additions
and
136 deletions
@@ -10,24 +10,16 @@ | @@ -10,24 +10,16 @@ | ||
10 | 10.67.7.23 | 10 | 10.67.7.23 |
11 | 10.67.7.22 | 11 | 10.67.7.22 |
12 | 10.67.7.21 | 12 | 10.67.7.21 |
13 | -10.67.7.63 | ||
14 | -10.67.7.69 | ||
15 | 10.67.7.28 | 13 | 10.67.7.28 |
16 | 10.67.7.42 | 14 | 10.67.7.42 |
17 | 10.67.7.44 | 15 | 10.67.7.44 |
18 | 10.67.7.49 | 16 | 10.67.7.49 |
19 | -10.67.7.107 | ||
20 | -10.67.7.86 | ||
21 | 10.67.7.18 | 17 | 10.67.7.18 |
22 | -10.67.7.83 | ||
23 | 10.67.7.134 | 18 | 10.67.7.134 |
24 | 10.67.7.135 | 19 | 10.67.7.135 |
25 | -10.67.7.89 | ||
26 | 10.67.7.115 | 20 | 10.67.7.115 |
27 | -10.67.7.104 | ||
28 | 10.67.7.39 | 21 | 10.67.7.39 |
29 | 10.67.7.31 | 22 | 10.67.7.31 |
30 | -10.67.7.32 | ||
31 | 10.67.7.35 | 23 | 10.67.7.35 |
32 | 10.67.7.36 | 24 | 10.67.7.36 |
33 | 10.67.7.19 | 25 | 10.67.7.19 |
@@ -37,9 +29,7 @@ | @@ -37,9 +29,7 @@ | ||
37 | 10.67.7.12 | 29 | 10.67.7.12 |
38 | 10.67.7.13 | 30 | 10.67.7.13 |
39 | 10.67.7.10 | 31 | 10.67.7.10 |
40 | -10.67.7.78 | ||
41 | 10.67.7.96 | 32 | 10.67.7.96 |
42 | -10.67.7.91 | ||
43 | 10.67.7.4 | 33 | 10.67.7.4 |
44 | 10.67.7.7 | 34 | 10.67.7.7 |
45 | 10.67.7.2 | 35 | 10.67.7.2 |
roles/base/README.md
deleted
100644 → 0
1 | -resolv | ||
2 | -========= | ||
3 | - | ||
4 | -配置 `/root/.ssh/` | ||
5 | - | ||
6 | - | ||
7 | -Requirements | ||
8 | ------------- | ||
9 | - | ||
10 | -`inventory` 文件中存在 `emr-recom` | ||
11 | - | ||
12 | - | ||
13 | -Example Playbook | ||
14 | ----------------- | ||
15 | - | ||
16 | - ```yml | ||
17 | - | ||
18 | - - hosts: servers | ||
19 | - roles: | ||
20 | - - base | ||
21 | - | ||
22 | -``` | ||
23 | - | ||
24 | -Author Information | ||
25 | ------------------- | ||
26 | - | ||
27 | -tiexin.yang@yoho.cn |
roles/base/defaults/main.yml
deleted
100644 → 0
1 | ---- |
roles/base/handlers/main.yml
deleted
100644 → 0
roles/base/meta/main.yml
deleted
100644 → 0
1 | -galaxy_info: | ||
2 | - author: tiexin.yang@yoho.cn | ||
3 | - description: ansible roles for configure .ssh settings | ||
4 | - company: yohobuy.com | ||
5 | - | ||
6 | - # If the issue tracker for your role is not on github, uncomment the | ||
7 | - # next line and provide a value | ||
8 | - # issue_tracker_url: http://example.com/issue/tracker | ||
9 | - | ||
10 | - # Some suggested licenses: | ||
11 | - # - BSD (default) | ||
12 | - # - MIT | ||
13 | - # - GPLv2 | ||
14 | - # - GPLv3 | ||
15 | - # - Apache | ||
16 | - # - CC-BY | ||
17 | - license: license (GPLv2, CC-BY, etc) | ||
18 | - | ||
19 | - min_ansible_version: 1.2 | ||
20 | - | ||
21 | - # If this a Container Enabled role, provide the minimum Ansible Container version. | ||
22 | - # min_ansible_container_version: | ||
23 | - | ||
24 | - # Optionally specify the branch Galaxy will use when accessing the GitHub | ||
25 | - # repo for this role. During role install, if no tags are available, | ||
26 | - # Galaxy will use this branch. During import Galaxy will access files on | ||
27 | - # this branch. If Travis integration is configured, only notifications for this | ||
28 | - # branch will be accepted. Otherwise, in all cases, the repo's default branch | ||
29 | - # (usually master) will be used. | ||
30 | - #github_branch: | ||
31 | - | ||
32 | - # | ||
33 | - # platforms is a list of platforms, and each platform has a name and a list of versions. | ||
34 | - # | ||
35 | - # platforms: | ||
36 | - # - name: Fedora | ||
37 | - # versions: | ||
38 | - # - all | ||
39 | - # - 25 | ||
40 | - # - name: SomePlatform | ||
41 | - # versions: | ||
42 | - # - all | ||
43 | - # - 1.0 | ||
44 | - # - 7 | ||
45 | - # - 99.99 | ||
46 | - | ||
47 | - galaxy_tags: [] | ||
48 | - # List tags for your role here, one per line. A tag is a keyword that describes | ||
49 | - # and categorizes the role. Users find roles by searching for tags. Be sure to | ||
50 | - # remove the '[]' above, if you add tags to this list. | ||
51 | - # | ||
52 | - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. | ||
53 | - # Maximum 20 tags per role. | ||
54 | - | ||
55 | -dependencies: [] | ||
56 | - # List your role dependencies here, one per line. Be sure to remove the '[]' above, | ||
57 | - # if you add dependencies to this list. |
roles/base/tasks/main.yml
deleted
100644 → 0
1 | ---- | ||
2 | -# Configure resolv.conf | ||
3 | - | ||
4 | - | ||
5 | -# make sure group exists | ||
6 | -- name: make sure emr-recom groups exist in inventory file | ||
7 | - fail: | ||
8 | - msg: "group {{ item }} not exist!" | ||
9 | - when: item not in groups | ||
10 | - with_items: | ||
11 | - - emr-recom | ||
12 | - | ||
13 | - | ||
14 | -- name: Configure authorized_keys | ||
15 | - template: | ||
16 | - src: authorized_keys.j2 | ||
17 | - dest: /root/.ssh/authorized_keys | ||
18 | - mode: 0600 |
1 | -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDO04RuVd9pVx3Clp6aDIfkHnhgXLHv42etM9RP3OoZwXYnL+Bvze4bY9APjALAzwnMvyLbGxoHe3sLurcH5FgLu6YDEA6t+ybxvyWcWloW2w2pDEKB/08NugRoVkNlKXj8a1D4PsiqTMolg92JxGMfdqFmh4/Y6Qnqapdw1+oPew== skey_116044 | ||
2 | -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCsKadEo3Fq0u6VdGsqnP7eWQrem5Agxsb16YJAuqGeI5EIiv4rw73lui9iS0QUD27XEPauICKdLptruu7miJB+61bqTC2yPJni+Zb8t/HTimXIGtgjX3SNoEje3YtfEvbkYMay2heQEBh9A4PedTGrvz1Lohkb/yNkDu3Obq5Siw== skey_54890 |
roles/base/templates/resolv.conf.j2
deleted
100644 → 0
roles/base/tests/inventory
deleted
100644 → 0
roles/base/tests/test.yml
deleted
100644 → 0
roles/base/vars/main.yml
deleted
100644 → 0
-
Please register or login to post a comment