acromedia / ansible-role-devops-utils Goto Github PK
View Code? Open in Web Editor NEWA collection of shell scripts intended to make life easier for Acro Media sysadmins and developers
License: GNU General Public License v3.0
A collection of shell scripts intended to make life easier for Acro Media sysadmins and developers
License: GNU General Public License v3.0
aws --version | grep -qw 'aws-cli'
fails on (old) versions of awscli, which send the version string to stderr instead of stdout.
LetsEncrypt's certbot is now a snap binary; certbot-auto is no longer available if the server is up to date.
The 'ls' test that the s3 uploader tries is lame. Even if permissions are good, and it would be able to write, the script stops.
A better test would be to actually try writing a file to the requested destination.
Functions are called before they're defined. See line 103, for example.
Is it possible to make this future proof, so any new version of PHP will "just work"?
The acme challenges conf should be included from all nginx/apache configs, so that a non-ssl site has the option to register a cert and switch to SSL after the initial setup.
./passwordless-sudo.sh sudo
ERR: The file '/etc/sudoers' does not include files from '/etc/sudoers.d'.
The sudoers file must be adjusted with visudo before this script can be used.
For example,
ll /home/webacct/www/project
/home/webacct/www/project -> /var/www/project
acro-add-user.sh foo
# Skipping /home/webacct because WEB_FILE_COUNT was zero: 0"
Result: User foo is added, but foo's key was not added to webacct's authorized keys, because the find command doesn't follow symlinks by default, and doesn't think webacct
is used for websites.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.