Also see the Pacemaker Quick Ref for a better, more complete guide.
crmsh # crm configure show
pcs # pcs cluster cib
crmsh # crm status
| --- | |
| name: codebase-review | |
| description: Review a whole codebase or subsystem so the review actually finishes. Measure its size, run a structural pass, then one bounded pass per acceptance contract, keep a findings ledger, fix in one batch, and stop. Use when asked to review, audit, or harden a codebase or subsystem rather than a single diff, or when earlier reviews keep finding new problems without converging. | |
| --- | |
| # Codebase review | |
| "Review this codebase" never finishes. A model asked to find problems in a | |
| stateful system always finds some, each run looks at different corners, and | |
| fixes applied between runs move the target. This method gives every pass one |
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
Also see the Pacemaker Quick Ref for a better, more complete guide.
crmsh # crm configure show
pcs # pcs cluster cib
crmsh # crm status
| diff --git a/Installation.md b/Installation.md | |
| index f79b30b..cc8d0d6 100644 | |
| --- a/Installation.md | |
| +++ b/Installation.md | |
| @@ -14,6 +14,10 @@ Anchore Engine can be run manually, using Docker Compose, Kubernetes or any cont | |
| mkdir -p /root/aevolume/config | |
| +Or on Mac OS | |
| + |
| # Logically group the hosts | |
| [lb] | |
| lb.poc | |
| [app] | |
| app1.poc | |
| app2.poc | |
| # Make parent group containing all groups |
| # Untested! | |
| # Rather than doing a loop, I would perhaps try this method instead... | |
| # Put the task in an include, then call the include multiple times, but with different variables. | |
| - include: build-and-push-docker-images.yml image=CLI | |
| - include: build-and-push-docker-images.yml image=Deployer | |
| - include: build-and-push-docker-images.yml image=Foo | |
| - include: build-and-push-docker-images.yml image=Bar | |
| # It's not beautiful, but would perhaps do what you need. |
| # Create Ruby package with FPM | |
| # Do this or you'll get 404 errors from outdated package URLs | |
| sudo apt-get update | |
| # Need this for mkmf | |
| sudo apt-get install -y ruby-dev | |
| # Install dependencies (these match the dependency list in the fpm command) | |
| sudo apt-get install -y \ |
(Note: I wrote this up quickly and without a lot of research, so there are probably inaccuracies. However, I wanted to put this out there in case it helps someone else hitting this issue. Github gists like this unfortunately don't have comment notifications, so if you want me to send me a comment, use my email matt@nanobeep.com and not the comments.)
The ability to limit sudo users to only be able to execute certain commands doesn't work with Ansible (without a workaround).
This isn't a problem if you're running Ansible as a super-user like root, but if you are allowing others to run Ansible on your systems in order to do things like application deploys, then you need a way to limit their access to the system for basic security.
For example, a line in /etc/sudoers like this:
| FIELDS = ['cmd', 'command', 'start', 'end', 'delta', 'msg', 'stdout', 'stderr'] | |
| def human_log(res): | |
| if type(res) == type(dict()): | |
| for field in FIELDS: | |
| if field in res.keys(): | |
| encoded_field = res[field].encode('utf-8') | |
| print '\n{0}:\n{1}'.format(field, encoded_field) |