Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lee KIMBER
Ansible Droplet
Commits
0336d0c9
Commit
0336d0c9
authored
Dec 04, 2017
by
Florian Kempenich
Browse files
Update README & error message
parent
26222ae5
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
0336d0c9
TBD
## Installation
```
pip install ansible-droplet
```
> Note:
> If installing with `sudo`, all the following `ansible-droplet` commands must be executed with `sudo` as well !
> To prevent that, use a [virtualenv](http://roundhere.net/journal/virtualenv-ubuntu-12-10/)
### Resources
Glances as systemd service: https://github.com/nicolargo/glances/wiki/Start-Glances-through-Systemd
ansible_droplet/cli.py
View file @
0336d0c9
...
...
@@ -67,8 +67,12 @@ def _create_droplet_inventory_symlink():
if
not
os
.
path
.
isfile
(
inventory_file
):
raise
AssertionError
(
"
\n
"
+
"/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\\n
"
+
"Please ensure you didn't delete the generated inventory in the HOME dir
\n
"
+
"In case you did, just create a new empty file at '{0}'"
.
format
(
inventory_file
)
"In case you did, just create a new empty file at '{0}'"
+
"/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\
/!
\\\n
"
+
"
\n
"
.
format
(
inventory_file
)
)
symlink
(
inventory_file
,
inventory_link
)
...
...
setup.py
View file @
0336d0c9
...
...
@@ -9,7 +9,7 @@ def readme():
setup
(
name
=
'ansible-droplet'
,
version
=
'0.2.
2
'
,
version
=
'0.2.
3
'
,
description
=
'A cli to Create / Destroy DigitalOcean Droplets'
,
long_description
=
readme
(),
keywords
=
'digitalocean digital ocean droplet ansible ssh provision'
,
...
...
Write
Preview
Supports
Markdown
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