-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop eodrh7 #369
base: develop
Are you sure you want to change the base?
Develop eodrh7 #369
Changes from all commits
7fb13ad
5aba176
6453413
6d718cb
c69980f
68ad31d
d08ff66
3d8af78
fab9a76
f66ffa2
73225e7
f412eaf
e0bf18b
95c1866
272ef36
df43194
4886fff
53fbe5e
46e1ec2
dd1b579
1f6cc9a
d28770d
51732db
5e127a6
cdfe50a
b43ba71
3b45dda
7a9cd8a
3ab247d
192d8de
749ef49
3282429
0dc0829
dcc5756
a73ec11
46da9cf
e93fdd6
df8fea2
372373c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#! /usr/bin/expect | ||
|
||
# run the actual installer bin | ||
# TODO: figure out where to put this | ||
spawn /tmp/{{ eod_installer }} | ||
|
||
# set a 2 minute timeout | ||
set timeout 120 | ||
|
||
# set up your expects | ||
expect_background { | ||
"Enter directory to install Exceed Connection Server to" { | ||
send "{{ eod_install_directory }}\r" | ||
exp_continue | ||
} | ||
"Please press <Enter> to view License Agreement" { | ||
exit 0 | ||
} | ||
} | ||
# interact return | ||
expect eod | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lel99999 The |
||
- name: Install iptables-services | ||
become: yes | ||
become_method: sudo | ||
# command: yum install -y iptables-services | ||
yum: | ||
name: iptables-services | ||
state: present | ||
|
||
- name: Make sure firewalld is masked | ||
command: systemctl mask firewalld | ||
# systemd: | ||
# name: firewalld | ||
# masked: yes | ||
|
||
- name: Enable iptables services | ||
# systemd: | ||
# name: "{{ item }}" | ||
# state: started | ||
# enabled: yes | ||
command: systemctl enable "{{ item }}" | ||
with_items: | ||
- iptables | ||
- ip6tables | ||
|
||
- name: start iptables services | ||
command: systemctl start "{{ item }}" | ||
with_items: | ||
- iptables | ||
- ip6tables | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lel99999 These commands should have a |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
#==================# | ||
### EoD SETTINGS ### | ||
#==================# | ||
install_desktop: False | ||
eod_restart: False | ||
eod_install: True | ||
eod_upgrade: False | ||
#eod_installer: ecs-13.8.5-linux-x64.bin | ||
eod_installer: ecs-13.8.9-linux-x64.bin | ||
eod_upgrader: | ||
eod_installer_directory: '/artifacts' | ||
#eod_installer_directory: '/tmp' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lel99999 Remove all commented out lines please. |
||
custom_repo: True | ||
eod_prechannel_location: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/ | ||
|
||
eod_client_ports: | ||
- 5500 | ||
- 8406 | ||
- 8407 | ||
- 6000:6025 | ||
|
||
eod_client_ports_udp: | ||
- 177 | ||
|
||
eod_admins: | ||
- vagrant | ||
- admin | ||
|
||
#restricted_group_name: vagrant | ||
restricted_group_name: admin | ||
|
||
eod_install_directory: '/usr/local/eod' | ||
eod_cm_password: PASSWORD | ||
|
||
# Define this variable to setup a cluster with a common datastore | ||
# The datastore must be a shared volume accessible by all EOD nodes. | ||
# eod_datastore_directory: | ||
|
||
eod_datastore_password: PASSWORD | ||
eod_cm_preferred_pcm: "{{ ansible_ssh_host }}" | ||
eod_cluster_name: "{{ ansible_ssh_host }}" | ||
xdmc_query_host: "{{ ansible_ssh_host }}" | ||
|
||
eod_use_license_server: 0 | ||
eod_license_server_host: | ||
eod_license_server_cache: | ||
|
||
# TODO: you can put all the keys you want to here | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably want to put the actual eod_license _keys in aurora-internal repo behind CPFB enterprise GH There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
eod_license_keys: | ||
- AAAA-BBBBBB-CCCCCC-DDDD-EEEEEE-FFF -0123456789 123 | ||
|
||
iptables_config: True | ||
deploy_iptables: True | ||
iptables_chain: TEST-INPUT | ||
#iptables_chain: INPUT | ||
|
||
install_eod: True | ||
eod_restart: True | ||
|
||
eod_greeter_include: false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
# TODO: fill this in | ||
|
||
- name: restart eod | ||
command: "{{ eod_install_directory }}/bin/otecs restart" | ||
when: install_eod and eod_restart | ||
|
||
- name: restart gdm | ||
# shell: killall gdm-binary | ||
# shell: systemctl restart display-manager | ||
shell: systemctl restart gdm | ||
ignore_errors: yes | ||
when: eod_restart | ||
|
||
#- name: restart prefdm | ||
# shell: restart prefdm | ||
# ignore_errors: yes | ||
# when: eod_restart | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lel99999 Remove commented out lines |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
- name: Copy over the EOD bin file | ||
copy: | ||
src: "{{ eod_installer_directory }}/{{ eod_installer }}" | ||
dest: "/tmp/" | ||
when: custom_repo | ||
tags: | ||
- eod | ||
|
||
- name: Chmod EOD binary | ||
file: | ||
path: "/tmp/{{ eod_installer }}" | ||
mode: a+x | ||
when: custom_repo | ||
tags: | ||
- eod | ||
|
||
- name: Ensure that eod directory exists | ||
file: | ||
path: "{{ eod_install_directory }}" | ||
state: directory | ||
tags: | ||
- eod | ||
|
||
- name: Copy the eod expect script | ||
template: | ||
src: files/install_eod_server.exp | ||
dest: /tmp/install_eod_server.exp | ||
mode: a+x | ||
tags: | ||
- eod | ||
|
||
- name: run EOD expect script | ||
shell: /tmp/install_eod_server.exp | ||
when: custom_repo | ||
tags: | ||
- eod | ||
|
||
- name: run eod silent install | ||
shell: "{{ eod_install_directory }}/bin/install -s" | ||
when: custom_repo | ||
args: | ||
creates: "{{ eod_install_directory }}/bin/otecs" | ||
tags: | ||
- eod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lel99999 This file should go in the
eod7
role right? Also, the binary file above should not be checked in, you'd have to download a copy locally and make sure the Ansible scripts have a variable you can use to point to the right place.