Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
d9de37b2
Commit
d9de37b2
authored
Dec 20, 2016
by
Feanil Patel
Committed by
GitHub
Dec 20, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3577 from edx/feanil/ansible2x_mongo
Feanil/ansible2x mongo
parents
e5cf7723
ca4fc4b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
playbooks/roles/aws/tasks/main.yml
+2
-5
playbooks/roles/enhanced_networking/tasks/main.yml
+2
-2
No files found.
playbooks/roles/aws/tasks/main.yml
View file @
d9de37b2
...
...
@@ -102,8 +102,5 @@
file
:
path
:
"
{{
item.item
}}"
mode
:
"
0644"
when
:
vagrant_home_dir.stat.exists ==
false
and
ansible_distribution in common_debian_variants and
item.stat.exists
with_items
:
"
{{
motd_files_exist.results
}}"
when
:
vagrant_home_dir.stat.exists == False and ansible_distribution in common_debian_variants and item.stat.exists
with_items
:
"
{{
motd_files_exist.results
}}"
playbooks/roles/enhanced_networking/tasks/main.yml
View file @
d9de37b2
...
...
@@ -27,7 +27,7 @@
-
name
:
Test for enhanced networking
local_action
:
module
:
shell aws
--profile {{ profile }}
ec2 describe-instance-attribute --instance-id {{ ansible_ec2_instance_id }} --attribute sriovNetSupport
module
:
shell aws ec2 describe-instance-attribute --instance-id {{ ansible_ec2_instance_id }} --attribute sriovNetSupport
changed_when
:
False
become
:
False
register
:
enhanced_networking_raw
...
...
@@ -56,7 +56,7 @@
-
name
:
Set enhanced networking instance attribute
local_action
:
module
:
shell aws
--profile {{ profile }}
ec2 modify-instance-attribute --instance-id {{ ansible_ec2_instance_id }} --sriov-net-support simple
module
:
shell aws ec2 modify-instance-attribute --instance-id {{ ansible_ec2_instance_id }} --sriov-net-support simple
when
:
supports_enhanced_networking and has_ixgbevf_kernel_module and not enhanced_networking_already_on
-
name
:
Start instances
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment